|
API Documentation
|
|
|
@ MEMORY_ALLOCATION
A memory allocation failed.
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
bool _success
Whether execution went fine (true) or not (false).
Definition: ExecutionResult.h:30
EXECUTION_FAILURE_TYPE
Describes a type of script execution failure.
Definition: ExecutionResult.h:12
@ NO_ERROR
Execution went fine.
Class holding information about a string, with ownership over the data.
Definition: String.h:22
Holds information about the execution result of a script in an environment.
Definition: ExecutionResult.h:26
EXECUTION_FAILURE_TYPE _failureType
The failure type.
Definition: ExecutionResult.h:28
@ INTERPRETER_UNKNOWN
The environment interpreter is unknown.
nkMemory::String _failureMessage
The description of the failure, if any.
Definition: ExecutionResult.h:27
@ UNKNOWN
Unknown place holder.
@ INTERPRETER_TYPE_MISMATCH
The environment interpreter and the script interpreter mismatched.
@ BYTECODE_NOT_READY
The script bytecode was not ready. Often due to unloaded scripts.