Skip to main content

asdf_parser_create

Function asdf_parser_create 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn asdf_parser_create( config: *const asdf_parser_cfg_t, ) -> *mut AsdfParser
Expand description

Create a parser.

config may be null, which selects the defaults: no YAML events and no tree buffering.

ยงSafety

config must be null or point to a valid asdf_parser_cfg_t. The result must be released with asdf_parser_destroy.