[][src]Type Definition cmark_gfm_sys::cmark_open_block_func

type cmark_open_block_func = Option<unsafe extern "C" fn(extension: *mut cmark_syntax_extension, indented: c_int, parser: *mut cmark_parser, parent_container: *mut cmark_node, input: *mut c_uchar, len: c_int) -> *mut cmark_node>;

Should create and add a new open block to 'parent_container' if 'input' matches a syntax rule for that block type. It is allowed to modify the type of 'parent_container'.

Should return the newly created block if there is one, or 'parent_container' if its type was modified, or NULL.