24typedef struct aml_state
#define AML_MAX_ARGS
Maximum number of arguments that can be passed to a method.
#define AML_MAX_LOCALS
Maximum number of local variables that can be used in a method.
void aml_state_result_set(aml_state_t *state, aml_object_t *result)
Set the result object of the state.
uint64_t aml_state_init(aml_state_t *state, aml_object_t **args)
Initialize an AML state.
aml_object_t * aml_state_result_get(aml_state_t *state)
Get the result object of the state.
void aml_state_deinit(aml_state_t *state)
Deinitialize an AML state.
Data for an argument object.
Data for a local variable object.
aml_object_t * result
The return value, see aml_method_evaluate() for details.
uint64_t errorDepth
The length of the error traceback, if 0 then no error has occurred.
aml_namespace_overlay_t overlay
Holds any named objects created during parsing.