Table Of Contents

Previous topic

Math Functions

Next topic

Type Definitions

Version Numbers

Functions relating to version information and data structures for the storage of version information.

Summary

s_speect_version Get the Speect Engine version.
s_lib_version_ok Query if this version of the Speect Engine is later or equal to the given version numbers (used by plug-ins to test for compatibility).

Definitions

typedef struct s_lib_version

The Speect Engine version data structure.

Public Members
uint8 major

Major version number.

uint8 minor

Minor version number.

const char *patch

Patch name.

const char *release

Release name.

typedef struct s_version

A data type where version information can be stored.

Public Members
uint8 major

Major version number.

uint8 minor

Minor version number.

Functions

s_lib_version s_speect_version(void)

Get the Speect Engine version.

Return:Speect Engine version.

s_bool s_lib_version_ok(uint8 major_min, uint8 minor_min)

Query if this version of the Speect Engine is later or equal to the given version numbers (used by plug-ins to test for compatibility).

Parameters:
  • major_min

    The minimum required major version of the Speect Engine.

  • minor_min

    The minimum required minor version of the Speect Engine.

Return:

TRUE if OK, else FALSE.