namespace declaration_ref and declaration_unref
[babeltrace.git] / types / string.c
index 4860740616ae97631c1a0c61ffd6f61a10ef8220..cebce12d9df897e9d7303058987c85af29ea58f0 100644 (file)
@@ -76,7 +76,7 @@ struct definition *
        int ret;
 
        string = g_new(struct definition_string, 1);
-       declaration_ref(&string_declaration->p);
+       bt_declaration_ref(&string_declaration->p);
        string->p.declaration = declaration;
        string->declaration = string_declaration;
        string->p.ref = 1;
@@ -104,7 +104,7 @@ void _string_definition_free(struct definition *definition)
        struct definition_string *string =
                container_of(definition, struct definition_string, p);
 
-       declaration_unref(string->p.declaration);
+       bt_declaration_unref(string->p.declaration);
        g_free(string->value);
        g_free(string);
 }
This page took 0.032038 seconds and 4 git commands to generate.