skGeneral.h
UNICODE_STRINGS
The class skString
uses a typedef Char
to represent characters. If this directive is defined, the string will use wchar_t
for the character type.
Default values:
Symbian, Windows CE | defined |
Win32, others | undefined |
ENABLE_WINDOWS_DLL_SUPPORT
, BUILDING_DLL
To build Simkin into a DLL for Windows, define ENABLE_WINDOWS_DLL_SUPPORT
in the calling code, and BUILDING_DLL
within the Simkin DLL
Default values:
All | undefined |
USE_FLOATING_POINT
Simkin supports floating point within scripts. If you wish to enforce integer arithmetic only, you should undefine this directive when building Simkin.
Default values:
All | defined |
EXECUTE_PARSENODES
Since version 2.18 Simkin supports two internal representations for parsed scripts:
ParseNode | uses more memory, but is faster - enabled by defining EXECUTE_PARSENODES |
Compiled | uses less memory, but is slower - enabled by undefining EXECUTE_PARSENODES |
Default values:
All | defined |
STREAMS_ENABLED
This is defined where C++ streaming support will be included in Simkin.
Default values:
Symbian, Windows CE | undefined |
Win32, others | defined |
EXCEPTIONS_DEFINED
If this is defined, the interpreter will throw exceptions if errors are encountered.
If it is not defined, errors will be propogated to the caller via the skScriptError
member of the skExecutableContext object you pass to the interpreter.
Default values:
Symbian, Windows CE | undefined |
Win32, others | defined |