libsswf: libsswf-version.h File Reference

# libsswf-version.h File Reference

The authority defining the version of the SSWF libraries. More...

Go to the source code of this file.

## Defines
#define | LIBSSWF_VERSION 4:0:0
| The C++ SSWF library (libsswf) compatibility version.
#define | LIBSSWFAS_VERSION 2:0:0
| The ActionScript compiler library (libsswf_as) compatibility version.
#define | LIBSSWFASAS_VERSION 2:0:0
| The ActionScript assembler library (libsswf_asas) compatibility version.
#define | LIBSSWFASC_VERSION 1:0:0
| The ActionScript internal script files.
#define | LIBSSWFC_VERSION 3:0:0
| The C SSWF library (libsswf_c) compatibility version.
#define | SSWF_VERSION 1.8.5
| The exact SSWF project version.
#define | TO_STR(s) TO_STR_sub(s)
| Transform a macro which is not a string into a string.
#define | TO_STR_sub(s) #s
| A low-level macro to create a C string.

## Detailed Description

The libsswf-version.h header file describes the SSWF version and the versions of all the libraries available in the SSWF project.

The library versions are compatibility versions used by the dynamic linker to make sure that a given library can indeed be used by a software or another.

## Define Documentation

#define LIBSSWF_VERSION 4:0:0

When you run a program linked against the dynamic SSWF library, the dynamic linker will check the version of the library to make sure that it is compatible. This version is defined by LIBSSWF_VERSION.

When this version changes, it is not unlikely that the C library version will change too.

The syntax is what libtools supports. Three decimal numbers separated by semicolons.

See also:
  LIBSSWFC_VERSION

#define LIBSSWFAS_VERSION 2:0:0

When you run a program linked against the dynamic ActionScript compiler library, the dynamic linker will check the version of the library to make sure that it is compatible. This version is defined by LIBSSWFAS_VERSION.

The syntax is what libtools supports. Three decimal numbers separated by semicolons.

See also:
  LIBSSWFASAS_VERSION

  LIBSSWFASC_VERSION

#define LIBSSWFASAS_VERSION 2:0:0

When you run a program linked against the dynamic ActionScript assembler library, the dynamic linker will check the version of the library to make sure that it is compatible. This version is defined by LIBSSWFASAS_VERSION.

The syntax is what libtools supports. Three decimal numbers separated by semicolons.

See also:
  LIBSSWFAS_VERSION

  LIBSSWFASC_VERSION

#define LIBSSWFASC_VERSION 1:0:0

The compiler can be used with all the packages defined internally instead of externally. This is achieved with the SSWF asc library. The following is the version of that library. The dynamic linker will check that version whenever the library is being loaded to make sure it is compatible with your tools.

See also:
  LIBSSWFAS_VERSION

  LIBSSWFASAS_VERSION

#define LIBSSWFC_VERSION 3:0:0

When you run a program linked against the dynamic C SSWF library, the dynamic linker will check the version of the library to make sure that it is compatible. This version is defined by LIBSSWFC_VERSION.

This version should change less than the C++ library version, yet it will certain often change when the C++ library includes new functions and parameters.

The syntax is what libtools supports. Three decimal numbers separated by semicolons.

See also:
  LIBSSWF_VERSION

#define SSWF_VERSION 1.8.5

The SSWF VERSION represents the current project release (see libtool -release).

Its declares the exact version of the SSWF project. It is composed of 3 decimal numbers separated by two points.

The first number defines the major version of the library and tools. So far, it has not changed.

The second number defines the tag versions, each time I add support for one or more SWF tags, that version is increased.

The third number defines the revision number. I increase that number whenever I make a new release with bug fixes and new functions, but no new SWF tags.

Note:
  Do not confound the SSWF project version (SSWF_VERSION) and the SSWF library compatibility version (LIBSSWF_VERSION). These two versions are not the same. One represents bug fixes and enhancements, the other represents changes to the interface of the library (which happen nearly all the time!).

See also:
  LIBSSWF_VERSION

Referenced by sswf::sswf_version().

#define TO_STR | ( | s |  | ) | TO_STR_sub(s)

The TO_STR(s) macro transform the parameter into a string.

Parameters:

  | s | Often another macro such as SSWF_VERSION

See also:
  SSWF_VERSION

Referenced by sswf::sswf_version().

#define TO_STR_sub | ( | s |  | ) | #s

The TO_STR_sub(s) macro is used to transform the parameter into a string. This macro is called by the TO_STR(s) macro.

Parameters:

  | s | Often another macro such as SSWF_VERSION

See also:
  SSWF_VERSION