Function anjay_get_float
Defined in File io.h
Function Documentation
-
int anjay_get_float(anjay_input_ctx_t *ctx, float *out)
Reads a floating-point value as a float from the request content.
- Parameters:
ctx – Input context to operate on.
out – [out] Returned value. If the call is not successful, it is guaranteed to be left untouched.
- Returns:
0 on success, a negative value in case of error.