Functions | |
mirkl_error_t * | mir_ivc_instance_create (mirkl_object_t **obj, mirkl_size_t nVals, mirkl_int64_t *vals, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool) |
mirkl_error_t * | mir_ivc_set_data (mirkl_object_t *obj, mirkl_size_t nVals, mirkl_int64_t *vals) |
mirkl_error_t * | mir_ivc_get_data (mirkl_object_t *obj, mirkl_size_t *nVals, mirkl_int64_t **vals) |
mirkl_error_t * | mir_ivc_get_data_ptr (mirkl_object_t *obj, mirkl_size_t *nVals, mirkl_int64_t **vals) |
mirkl_error_t * | mir_ivc_append_number (mirkl_object_t *obj, mirkl_int64_t val) |
mirkl_error_t * | mir_ivc_resize (mirkl_object_t *obj, mirkl_size_t newsize) |
Variables | |
mirkl_object_t * | MirIVectorClass |
Integer Vector class. | |
mirkl_error_t * mir_ivc_append_number | ( | mirkl_object_t * | obj, |
mirkl_int64_t | val | ||
) |
Appends number to the IVector object..
obj | Object to which the number should be appended. |
val | Number to append. |
mirkl_error_t * mir_ivc_get_data | ( | mirkl_object_t * | obj, |
mirkl_size_t * | nVals, | ||
mirkl_int64_t ** | vals | ||
) |
Getting data from IVector object..
obj | Object from which the data to be retrieved. |
nVals | Number of elements in vector on the output. |
vals | array of values on the output. Warning: this buffer must be freed by user! |
mirkl_error_t * mir_ivc_get_data_ptr | ( | mirkl_object_t * | obj, |
mirkl_size_t * | nVals, | ||
mirkl_int64_t ** | vals | ||
) |
Getting pointer to the data of IVector instance for fast access.
obj | Object from which the data to be retrieved. |
nVals | Number of elements in vector on the output. |
vals | array of values on the output. |
mirkl_error_t * mir_ivc_instance_create | ( | mirkl_object_t ** | obj, |
mirkl_size_t | nVals, | ||
mirkl_int64_t * | vals, | ||
mirkl_uint32_t | flags, | ||
mir_prsdata_t * | pp, | ||
apr_pool_t * | pool, | ||
apr_pool_t * | tmp_pool | ||
) |
Creation of IVector object.
[out] | obj | Reference to the created object. |
nVals | Number of values for initialization. | |
vals | vector of values 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_ivc_resize | ( | mirkl_object_t * | obj, |
mirkl_size_t | newsize | ||
) |
Resizes ivec.