Skip to main content

xmlCharInRange

Function xmlCharInRange 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlCharInRange( val: c_uint, group: *const xmlChRangeGroup, ) -> c_int
Expand description

Binary search over the short/long range tables (upstream xmlCharInRange, chvalid.c โ€” the tables are sorted, so the search is exact).

ยงSAFETY

  • group must be NULL or point to a valid xmlChRangeGroup whose range arrays cover nbShortRange/nbLongRange entries.