Jinx
Public Attributes | List of all members
Jinx::GlobalParams Struct Reference

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.
 

Detailed Description

Initializes global Jinx parameters.

A struct containing a number of global parameters affecting memory, logging, and general runtime behavior.

See also
Initialize()

The documentation for this struct was generated from the following file: