Standard defines/macros for the Speect Engine.
S_BEGIN_C_DECLS | Start block for enclosing C code for inclusion in C++ programs. |
S_END_C_DECLS | End block for enclosing C code for inclusion in C++ programs. |
NULL | Defined NULL pointer if it has not previously been defined. |
S_MAX_PATH_LENGTH | Defined maximum length (size in bytes) of a string buffer for file paths. |
S_PATH_SEP | Defined path separator of the file system. |
TRUE | Definition of the TRUE value. |
FALSE | Definition of the FALSE value. |
S_CONCAT | Concatenate two strings. |
S_TOSTRING | Return a string of the given argument. |
S_VOIDPTR | Cast a pointer to a a pointer of type void. |
S_UNUSED | Indicate that a given function parameter or static variable is unused. |
S_API | Declares a symbol to be exported for shared library usage. |
S_LOCAL | Declares a symbol hidden from other libraries. |
Defined maximum length (size in bytes) of a string buffer for file paths.
Concatenate two strings.
Parameters: |
|
---|---|
Return: | Concatenated strings A and B. |
Return a string of the given argument.
Parameters: |
|
---|---|
Return: | "S" |
Cast a pointer to a a pointer of type void.
Parameters: |
|
---|---|
Return: | (void*)PTR |
Indicate that a given function parameter or static variable is unused.
Its purpose is to eliminate compiler warnings when using high warning levels.
Parameters: |
|
---|
Macros for controlling library symbol visibility and linkage. These macros have platform specific values. S_API and S_LOCAL should be used by plug-in implementations for better portability.
Declares a symbol to be exported for shared library usage.
Declares a symbol hidden from other libraries.