yyjson_mut_arr_add_double

Function yyjson_mut_arr_add_double 

Source
pub unsafe extern "C" fn yyjson_mut_arr_add_double(
    doc: *mut yyjson_mut_doc,
    arr: *mut yyjson_mut_val,
    num: f64,
) -> bool
Expand description

Adds a double value at the end of the array. @param doc The doc is only used for memory allocation. @param arr The array to which the value is to be inserted. Returns false if it is NULL or not an array. @param num The number to be added. @return Whether successful.