Macros | |
#define | MIR_GROUP_CTYPE_DIFF 1 |
#define | MIR_GROUP_CTYPE_RATIO 2 |
Functions | |
mirkl_error_t * | mir_group_instance_create (mirkl_object_t **obj, int grpn, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool) |
mirkl_error_t * | mir_group_add_object (mirkl_object_t *grpobj, mirkl_object_t *obj) |
Variables | |
mirkl_object_t * | MirGroupClass |
Group class. | |
#define MIR_GROUP_CTYPE_DIFF 1 |
Types of constraints in groups. Differences between first and all other values are fixed.
#define MIR_GROUP_CTYPE_RATIO 2 |
Ratios between first and all other values are fixed.
mirkl_error_t * mir_group_add_object | ( | mirkl_object_t * | grpobj, |
mirkl_object_t * | obj | ||
) |
Adding of an object to the group of objects.
grpobj | Instance of Group class representing group. |
obj | Object to be added. Must be floating point number. |
mirkl_error_t * mir_group_instance_create | ( | mirkl_object_t ** | obj, |
int | grpn, | ||
mirkl_uint32_t | flags, | ||
mir_prsdata_t * | pp, | ||
apr_pool_t * | pool, | ||
apr_pool_t * | tmp_pool | ||
) |
Creation of Group object.
[out] | obj | Reference to the created object. |
grpn | Group number. | |
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. |