X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Ffloat.c;h=16d435200a15d6a5efccdf1ca21de9426af377fb;hp=7b89a89f564844f10e89bfdd27ddbc5173eaa2d0;hb=2b77e6a6ff6a0b46ee3bd607d1d75f2d20af5ea0;hpb=ebae302b9108c5747e8af8b3d54740f48479b245 diff --git a/types/float.c b/types/float.c index 7b89a89f..16d43520 100644 --- a/types/float.c +++ b/types/float.c @@ -96,8 +96,8 @@ struct definition * bt_declaration_ref(&float_declaration->p); _float->p.declaration = declaration; _float->declaration = float_declaration; - _float->p.scope = new_definition_scope(parent_scope, field_name, root_name); - _float->p.path = new_definition_path(parent_scope, field_name, root_name); + _float->p.scope = bt_new_definition_scope(parent_scope, field_name, root_name); + _float->p.path = bt_new_definition_path(parent_scope, field_name, root_name); if (float_declaration->byte_order == LITTLE_ENDIAN) { tmp = float_declaration->mantissa->p.definition_new(&float_declaration->mantissa->p, _float->p.scope, g_quark_from_static_string("mantissa"), 0, NULL); @@ -130,7 +130,7 @@ struct definition * if (parent_scope) { int ret; - ret = register_field_definition(field_name, &_float->p, + ret = bt_register_field_definition(field_name, &_float->p, parent_scope); assert(!ret); } @@ -146,7 +146,7 @@ void _float_definition_free(struct definition *definition) bt_definition_unref(&_float->sign->p); bt_definition_unref(&_float->exp->p); bt_definition_unref(&_float->mantissa->p); - free_definition_scope(_float->p.scope); + bt_free_definition_scope(_float->p.scope); bt_declaration_unref(_float->p.declaration); g_free(_float); }