|
PatchworkOS
a7b3d61
A non-POSIX operating system.
|
Object Runtime Evaluation. More...
Object Runtime Evaluation.
Functions | |
| aml_object_t * | aml_evaluate (aml_state_t *state, aml_object_t *object, aml_type_t targetTypes) |
| Evaluate an AML object. | |
| 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.
| state | The AML state to use for evaluation, can be NULL to use a temporary state. |
| object | The AML object to evaluate. |
| targetTypes | A bitmask of desired target types. |
NULL and errno is set. Definition at line 8 of file evaluate.c.