EC_NODE_G...REN_COUNT(3)
π NAME π
ec_node_get_children_count β okay so this is a lil function from the Libecoli Programmer's Manual, section 3, and it does exactly one thing: it hands you back the number of children a node has. Return the number of children for a node. That's the whole vibe. π
β¨ SYNOPSIS β¨
Like, here's how you call her:
#include <ecoli/node.h>
size_t ec_node_get_children_count(
const struct ec_node *node /* The grammar node. */
);
See that const struct ec_node *node up in there? That's the grammar node, bestie. It's the thing you're asking about. π«Ά
π RETURN VALUE π
The number of children. periodt. That's the return value, that's the whole sentence, and honestly? Iconic of her to be that clear. The type is size_t, so it's a nice non-negative count β no weird negative-number jumpscare. π
π¦ SEE ALSO π¦
The whole girl squad, fr fr. Go read these when you're done here:
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_priv(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_type_name(3)ec_node_type_register(3)ec_node_set_config(3)ec_node_iter_get_node(3)ec_node_get_child(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
π okay that's the whole page bestie, no notes, you ate. This one came from libecoli, dated 2026-06-11, and it's serving EC_NODE_G...REN_COUNT(3) energy from start to finish. go count some children, you got this πΈβ¨π¦
π¦ 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