namespace the declaration functions
[babeltrace.git] / types / array.c
index cc9a60085cbf167f155a47003b1ffce84838b2c5..7f821677a32925b63feb2b899b4c967f8222138c 100644 (file)
@@ -64,7 +64,7 @@ void _array_declaration_free(struct declaration *declaration)
        struct declaration_array *array_declaration =
                container_of(declaration, struct declaration_array, p);
 
-       free_declaration_scope(array_declaration->scope);
+       bt_free_declaration_scope(array_declaration->scope);
        bt_declaration_unref(array_declaration->elem);
        g_free(array_declaration);
 }
@@ -82,7 +82,7 @@ struct declaration_array *
        array_declaration->len = len;
        bt_declaration_ref(elem_declaration);
        array_declaration->elem = elem_declaration;
-       array_declaration->scope = new_declaration_scope(parent_scope);
+       array_declaration->scope = bt_new_declaration_scope(parent_scope);
        declaration->id = CTF_TYPE_ARRAY;
        declaration->alignment = elem_declaration->alignment;
        declaration->declaration_free = _array_declaration_free;
This page took 0.022952 seconds and 4 git commands to generate.