Skip to main content

pm_node_comments_size

Function pm_node_comments_size 

Source
pub unsafe extern "C" fn pm_node_comments_size(
    parser: *const pm_parser_t,
    node: *const pm_node_t,
) -> u32
Expand description

Returns the number of comments owned by the given node. This is 0 if the node owns no comments or if the attach_comments option was not set.

@param parser the parser that produced the node @param node the node whose comments we want to count @returns the number of comments owned by the given node