Mir 1.0
Mir application programming interface

Functions

mirkl_error_tmir_floatc_instance_create (mirkl_object_t **obj, double value, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool)
 
mirkl_error_tmir_floatc_set_data (mirkl_object_t *obj, double val)
 
mirkl_error_tmir_floatc_get_data (mirkl_object_t *obj, double *val)
 

Variables

mirkl_object_t * MirFloatClass
 Float class.
 

Detailed Description

Function Documentation

◆ mir_floatc_get_data()

mirkl_error_t * mir_floatc_get_data ( mirkl_object_t *  obj,
double *  val 
)

Getting value from Float object.

Parameters
objReference to the object.
[out]valReference to the value.

◆ mir_floatc_instance_create()

mirkl_error_t * mir_floatc_instance_create ( mirkl_object_t **  obj,
double  value,
mirkl_uint32_t  flags,
mir_prsdata_t *  pp,
apr_pool_t *  pool,
apr_pool_t *  tmp_pool 
)

Creation of Float object.

Parameters
[out]objReference to the created object.
valueValue for initialization.
flagsFlags of the object.
ppReference to the parser data structure.
poolThe pool to use for allocations of object structures. Should be valid as long as the created object lives.
tmp_poolThe pool for temporary allocations. Can be deleted after calling this function.

◆ mir_floatc_set_data()

mirkl_error_t * mir_floatc_set_data ( mirkl_object_t *  obj,
double  val 
)

Setting value for Float object.

Parameters
objReference to the object.
valValue for to set.