[][src]Function bve_native::parse::mesh::bve_parse_mesh_from_string

#[no_mangle]
#[must_use]
pub unsafe extern "C" fn bve_parse_mesh_from_string(
    string: *const c_char,
    file_type: FileType
) -> Parsed_Static_Object

C Interface for mesh_from_str.

Safety

  • string must be non-null and null terminated. May be invalid utf8.
  • file_type must be a valid enumeration.
  • Result must be properly deleted.