projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: freeze field type unconditionally
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
field-types-internal.h
diff --git
a/include/babeltrace/ctf-ir/field-types-internal.h
b/include/babeltrace/ctf-ir/field-types-internal.h
index a15b9c0a13e5e62b283c1d4ab8f723b90b034e69..3940b1d49b53fcfd220ba467038757a652f2ccbf 100644
(file)
--- a/
include/babeltrace/ctf-ir/field-types-internal.h
+++ b/
include/babeltrace/ctf-ir/field-types-internal.h
@@
-274,14
+274,6
@@
struct bt_field_type_common_string {
enum bt_string_encoding encoding;
};
enum bt_string_encoding encoding;
};
-#ifdef BT_DEV_MODE
-# define bt_field_type_freeze _bt_field_type_freeze
-# define bt_field_type_common_freeze _bt_field_type_common_freeze
-#else
-# define bt_field_type_freeze(_ft)
-# define bt_field_type_common_freeze(_ft)
-#endif
-
typedef struct bt_field_common *(* bt_field_common_create_func)(
struct bt_field_type_common *);
typedef struct bt_field_common *(* bt_field_common_create_func)(
struct bt_field_type_common *);
@@
-620,10
+612,10
@@
enum bt_field_type_id bt_field_type_common_get_type_id(
struct bt_field_type_common *ft);
BT_HIDDEN
struct bt_field_type_common *ft);
BT_HIDDEN
-void
_
bt_field_type_common_freeze(struct bt_field_type_common *ft);
+void bt_field_type_common_freeze(struct bt_field_type_common *ft);
BT_HIDDEN
BT_HIDDEN
-void
_
bt_field_type_freeze(struct bt_field_type *ft);
+void bt_field_type_freeze(struct bt_field_type *ft);
BT_HIDDEN
struct bt_field_type_common *
BT_HIDDEN
struct bt_field_type_common *
This page took
0.027007 seconds
and
4
git commands to generate.