PatchworkOS  a7b3d61
A non-POSIX operating system.
Loading...
Searching...
No Matches
Runtime Evaluation

Object Runtime Evaluation. More...

Collaboration diagram for Runtime Evaluation:

Detailed Description

Object Runtime Evaluation.

Functions

aml_object_taml_evaluate (aml_state_t *state, aml_object_t *object, aml_type_t targetTypes)
 Evaluate an AML object.
 

Function Documentation

◆ aml_evaluate()

aml_object_t * aml_evaluate ( aml_state_t state,
aml_object_t object,
aml_type_t  targetTypes 
)

Evaluate an AML object.

Will attempt to evaluate the given object to the desired target type, by invoking it if its a method and converting the result or just directly converting it.

Parameters
stateThe AML state to use for evaluation, can be NULL to use a temporary state.
objectThe AML object to evaluate.
targetTypesA bitmask of desired target types.
Returns
On success, the evaluated AML object. On failure, NULL and errno is set.

Definition at line 8 of file evaluate.c.

Here is the call graph for this function:
Here is the caller graph for this function: