void declaration_unref(struct declaration *declaration)
{
+ if (!declaration)
+ return;
if (!--declaration->ref)
declaration->declaration_free(declaration);
}
void definition_unref(struct definition *definition)
{
+ if (!definition)
+ return;
if (!--definition->ref)
definition->declaration->definition_free(definition);
}
quark = g_quark_from_string(str);
g_array_append_val(q, quark);
g_free(str);
+ ptrend++; /* skip current dot */
}
/* last. Check for trailing dot (and discard). */
if (ptrbegin[0] != '\0') {