30 result->inf = data_type->evaluated_value_inf;
47 "afw_value_evaluated_create() called with NULL data type",
53 result->inf = data_type->evaluated_value_inf;
54 memcpy(&result->internal, value, data_type->c_type_size);
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
#define offsetof(type, member)
#define AFW_THROW_ERROR_Z(code, message_z, xctx)
Macro used to set error and 0 rv in xctx and throw it.
#define afw_pool_calloc(instance, size, xctx)
Call method calloc of interface afw_pool.
afw_value_evaluated_allocate(const afw_data_type_t *data_type, const afw_pool_t *p, afw_xctx_t *xctx)
Allocate function for an evaluated data type value.
afw_value_evaluated_create(const void *value, const afw_data_type_t *data_type, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for an evaluated data type value.
Interface afw_data_type public struct.
Interface afw_pool public struct.
Struct to access internal of all evaluated values.
Interface afw_value public struct.
Interface afw_xctx public struct.