namespace definition_ref and definition_unref
[babeltrace.git] / types / struct.c
index 5cc0849f55cdc344690161f1d130120996b37485..cf8fef6bd6812306d69985dc43efe26194c7deeb 100644 (file)
@@ -155,7 +155,7 @@ struct definition *
 error:
        for (i--; i >= 0; i--) {
                struct definition *field = g_ptr_array_index(_struct->fields, i);
-               definition_unref(field);
+               bt_definition_unref(field);
        }
        free_definition_scope(_struct->p.scope);
        bt_declaration_unref(&struct_declaration->p);
@@ -173,7 +173,7 @@ void _struct_definition_free(struct definition *definition)
        assert(_struct->fields->len == _struct->declaration->fields->len);
        for (i = 0; i < _struct->fields->len; i++) {
                struct definition *field = g_ptr_array_index(_struct->fields, i);
-               definition_unref(field);
+               bt_definition_unref(field);
        }
        free_definition_scope(_struct->p.scope);
        bt_declaration_unref(_struct->p.declaration);
This page took 0.022613 seconds and 4 git commands to generate.