Function uclicious_libucl_sys::ucl_object_emit_len
source · pub unsafe extern "C" fn ucl_object_emit_len(
obj: *const ucl_object_t,
emit_type: ucl_emitter,
len: *mut usize
) -> *mut c_uchar
Expand description
Emit object to a string that can contain \0
inside
@param obj object
@param emit_type if type is #UCL_EMIT_JSON then emit json, if type is
#UCL_EMIT_CONFIG then emit config like object
@param len the resulting length
@return dump of an object (must be freed after using) or NULL in case of error