Skip to content

Instantly share code, notes, and snippets.

@hapejot
Last active December 11, 2021 23:18
Show Gist options
  • Select an option

  • Save hapejot/79a6f5b64f05dc9fa02bdde5265b3659 to your computer and use it in GitHub Desktop.

Select an option

Save hapejot/79a6f5b64f05dc9fa02bdde5265b3659 to your computer and use it in GitHub Desktop.
void *iter = NULL;
struct fy_node_pair *n;
while( ( n = fy_node_mapping_iterate( mapping, &iter ) ) )
{
const char *key = fy_node_get_scalar0( fy_node_pair_key( n ) );
struct fy_node *value = fy_node_pair_key( n );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment