EC_NODE_PRIV(3)
π EC_NODE_PRIV(3) π
okay bestie, so this is a page from the Libecoli Programmer's Manual, and it's about exactly one (1) little function. it's called ec_node_priv and honestly? she's lowkey the plug. πβ¨
β¨ NAME β¨
ec_node_priv β Get the pointer to the node private area.
like. that's it. that's her job. and she ate. π
πΈ SYNOPSIS πΈ
#include <ecoli/node.h>
void * ec_node_priv(
const struct ec_node *node /* The grammar node. */
);
so you include <ecoli/node.h> (yes, the header, don't forget her, she's the main character of includes π), and then you hand her a const struct ec_node *node β that's The grammar node. β and she gives you back a void *. periodt. π¦
π«Ά RETURN VALUE π«Ά
The pointer to the node private area.
that's the vibe. you pass in the node, you get the pointer to her private area back. no cap, no extra steps, no drama. π§
π₯ SEE ALSO π₯
okay so this is the group chat, the whole entire friend group, every single one of them, we love a supportive cast:
ec_node_check_type(3)ec_node_iter(3)ec_node_attrs(3)ec_node_find(3)ec_node_type_name(3)ec_node_free(3)ec_node_id(3)ec_node_type_dump(3)ec_node_get_config(3)ec_node_schema_dump(3)ec_node_type_lookup(3)ec_node_clone(3)ec_node_dump(3)ec_node_desc(3)ec_node_iter_free(3)ec_node_iter_get_parent(3)ec_node_from_type(3)ec_node_type(3)ec_node_iter_next(3)ec_node_type_schema(3)ec_node(3)ec_node_get_children_count(3)ec_node_get_type_name(3)ec_node_type_register(3)ec_node_set_config(3)ec_node_iter_get_node(3)ec_node_get_child(3)
like. twenty-seven besties. all iconic. go read them. πβ¨
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
ngl the way this whole page is just one function and she still slays?? it's giving minimalism, it's giving confident, it's giving "i don't need forty options to be iconic". ππ
π and that's the whole page bestie, ty for coming to my ted talk π β this was libecoli, dated 2026-06-11, and it's EC_NODE_PRIV(3) forever and always. mwah. πππ¦π
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms