Skip to main content

lysc_data_node

Function lysc_data_node 

Source
pub unsafe extern "C" fn lysc_data_node(
    schema: *const lysc_node,
) -> *const lysc_node
Expand description

@brief Get nearest @p schema parent (including the node itself) that can be instantiated in data.

@param[in] schema Schema node to get the nearest data node for. @return Schema data node, NULL if top-level (in data).