Esc

gltf_error_free

procedureextensionsince 0.36.1Source
  • macOS: gltf_error_free works on macOS
  • Linux: gltf_error_free works on Linux
  • Windows: gltf_error_free works on Windows
  • Wasm: gltf_error_free works on Wasm

Release an error's owned strings.

Signature

gltf_error_free :: (error: *Gltf_Error)
Example↗
_, error := gltf_load("{");
assert(error.kind == .JSON);
gltf_error_free(*error);
assert(error.kind == .NONE);

See also