Jinx
|
Initializes global Jinx parameters. More...
#include <Jinx.h>
Public Attributes | |
LogFn | logFn |
Logging function. | |
bool | enableLogging = true |
Enable logging. | |
bool | logSymbols = false |
Log a detailed list of symbols after initial lexing phase. | |
bool | logBytecode = false |
Log a detailed list of bytecode after compilation. | |
bool | enableDebugInfo = true |
Embed debug info in bytecode. | |
AllocFn | allocFn |
Alloc memory function. | |
ReallocFn | reallocFn |
Realloc memory function. | |
FreeFn | freeFn |
Free memory function. | |
uint32_t | maxInstructions = 2000 |
Maximum number of instructions per script per Execute() function. | |
bool | errorOnMaxInstrunctions = true |
Maximum total script instrunctions. | |
Initializes global Jinx parameters.
A struct containing a number of global parameters affecting memory, logging, and general runtime behavior.