Function anjay_ret_i64
Defined in File io.h
Function Documentation
-
int anjay_ret_i64(anjay_output_ctx_t *ctx, int64_t value)
Returns a 64-bit signed integer from the data model handler.
Note: the only difference between
anjay_ret_i32andanjay_ret_i64is the size of thevalueparameter. Actual number of bytes sent on the wire depends on thevalue.- Parameters:
ctx – Output context to operate on.
value – The value to return.
- Returns:
0 on success, a negative value in case of error.