Functions | |
mirkl_error_t * | mir_intc_instance_create (mirkl_object_t **obj, mirkl_int64_t value, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool) |
mirkl_error_t * | mir_intc_set_data (mirkl_object_t *obj, mirkl_int64_t val) |
mirkl_error_t * | mir_intc_get_data (mirkl_object_t *obj, mirkl_int64_t *val) |
Variables | |
mirkl_object_t * | MirIntegerClass |
Integer class. | |
mirkl_object_t * | MirIntZeroObject |
mir_ast_t * | MirIntZeroOast |
mirkl_error_t * mir_intc_get_data | ( | mirkl_object_t * | obj, |
mirkl_int64_t * | val | ||
) |
Getting value from Integer object.
obj | Reference to the object. | |
[out] | val | Reference to the value. |
mirkl_error_t * mir_intc_instance_create | ( | mirkl_object_t ** | obj, |
mirkl_int64_t | value, | ||
mirkl_uint32_t | flags, | ||
mir_prsdata_t * | pp, | ||
apr_pool_t * | pool, | ||
apr_pool_t * | tmp_pool | ||
) |
Creation of Integer object.
[out] | obj | Reference to the created object. |
value | Value for initialization. | |
flags | Flags of the object. | |
pp | Reference to the parser data structure. | |
pool | The pool to use for allocations of object structures. Should be valid as long as the created object lives. | |
tmp_pool | The pool for temporary allocations. Can be deleted after calling this function. |
mirkl_error_t * mir_intc_set_data | ( | mirkl_object_t * | obj, |
mirkl_int64_t | val | ||
) |
Setting value for Integer object.
obj | Reference to the object. |
val | Value to set. |
|
extern |
Global integer 0 object in AST of type 'O'
|
extern |
Global integer 0 object