pub unsafe extern "C" fn pm_parser_init(
parser: *mut pm_parser_t,
source: *const u8,
size: usize,
options: *const pm_options_t,
)
Expand description
Initialize a parser with the given start and end pointers.
The resulting parser must eventually be freed with pm_parser_free()
.
@param parser The parser to initialize. @param source The source to parse. @param size The size of the source. @param options The optional options to use when parsing. These options must live for the whole lifetime of this parser.
\public \memberof pm_parser