Function copy_error
Source pub const unsafe fn copy_error(
from: *const _xmlError,
to: *mut _xmlError,
) -> c_int
Expand description
Copy an error from one location to another.
§UPSTREAM-PARITY
xmlErrorPtr xmlCopyError(xmlErrorPtr from, xmlErrorPtr to);
Copies from into to. Returns 0 on success, -1 on error.
§SAFETY
from and to must be valid pointers to _xmlError structs, or NULL.