Skip to main content

__xmlParserInputBufferCreateFilenameValue

Function __xmlParserInputBufferCreateFilenameValue 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn __xmlParserInputBufferCreateFilenameValue() -> *mut Option<unsafe extern "C" fn(*const c_char, c_int) -> *mut _xmlParserInputBuffer>
Expand description

Upstream __xmlParserInputBufferCreateFilenameValue(void) — returns a pointer to xmlParserInputBufferCreateFilenameValue.

§SAFETY

The function touches crate-global state only; it is safe as long as the caller respects the library’s global initialization/cleanup ordering (xmlInitParser before use, xmlCleanupParser only after all users are done).

Violating the global lifecycle ordering, or calling this after teardown or from a signal handler, is undefined behavior.