Function anjay_ret_float
Defined in File io.h
Function Documentation
-
static inline int anjay_ret_float(anjay_output_ctx_t *ctx, float value)
Returns a 32-bit floating-point value from the data model handler.
- Parameters:
ctx – Output context to operate on.
value – The value to return.
- Returns:
0 on success, a negative value in case of error.