* Add functions to manipulate nodes:
eet_node_children_get, eet_node_next_get, eet_node_parent_get,
eet_node_type_get, eet_node_value_get, eet_node_name_get
+ * Fix segmentation faults in several eet_node functions
{
Eet_Node *n;
+ if (!child) return NULL;
+
if (child->type != EET_G_UNKNOWN)
return child;
const char *tmp;
Eet_Node *nn;
+ if ((!parent) || (!child)) return;
tmp = eina_stringshare_add(name);
for (nn = parent->values; nn; nn = nn->next)
Eet_Node *prev;
Eet_Node *nn;
+ if ((!parent) || (!child)) return;
if (parent->type != EET_G_UNKNOWN)
{
ERR("[%s] is not a structure. Will not insert [%s] in it",
{
Eet_Node *nn;
+ if ((!parent) || (!child)) return;
+
/* No list found, so create it. */
nn = eet_node_hash_new(name, key, child);