EC_PNODE_FREE_CHILDREN(3)

πŸ’… ec_pnode_free_children(3) πŸ’…

okay bestie, welcome to the Libecoli Programmer's Manual ✨ this one's short and sweet, no cap β€” it's literally one function and it does exactly one thing: it goes "everybody out of the pool" to a node's kids 🫢


πŸŽ€ NAME πŸŽ€

ec_pnode_free_children β€” remove and free all the children of a parsing tree node πŸŒ³πŸ’€

like. ALL of them. every single one. gone. slay.


✨ SYNOPSIS ✨

#include <ecoli/parse.h>

void ec_pnode_free_children(
    struct ec_pnode   *pnode   /* Node whose children will be freed. */
);

so you're passing in a pointer to a struct ec_pnode β€” that's the pnode β€” and it's the node whose children are about to get absolutely obliterated πŸ’– it returns void because there is nothing to report back. no return value, no drama, no nothing. it just does the thing 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” go read these too:

it's giving very much "read the whole trilogy" energy, and honestly? obsessed πŸ“šπŸŒˆ


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the page babes πŸ¦‹ this was libecoli, dated 2026-06-11, and the manual page is EC_PNODE_FREE_CHILDREN(3) πŸ’– go forth and free some children (the tree-node kind, obviously 😭) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from