pub type pm_encoding_changed_callback_t = Option<unsafe extern "C" fn(parser: *mut pm_parser_t)>;Expand description
When the encoding that is being used to parse the source is changed by prism, we provide the ability here to call out to a user-defined function.
Aliased Type§
pub enum pm_encoding_changed_callback_t {
None,
Some(unsafe extern "C" fn(*mut pm_parser)),
}