Skip to main content

dwg_dynapi_header_set_value

Function dwg_dynapi_header_set_value 

Source
pub unsafe extern "C" fn dwg_dynapi_header_set_value(
    dwg: *mut Dwg_Data,
    fieldname: *const c_char,
    value: *const c_void,
    is_utf8: bool,
) -> bool
Expand description

Sets the HEADER.fieldname to a value. A malloc’ed struct or string is passed by ptr, not by the content. A non-malloc’ed struct is set by content. If is_utf8 is set, the given value is a UTF-8 string, and will be converted to TV or TU.