Replace assert() -> BT_ASSERT() and some preconditions with BT_ASSERT_PRE()
[babeltrace.git] / include / babeltrace / ctf-ir / field-types-internal.h
index fbe0bb788449884975427e7b83ac6d3b0486559b..e418b1f3283574178ef8ab79f3b51850a922218f 100644 (file)
@@ -157,8 +157,14 @@ struct bt_field_type_string {
        enum bt_string_encoding encoding;
 };
 
+#ifdef BT_DEV_MODE
+# define bt_field_type_freeze  _bt_field_type_freeze
+#else
+# define bt_field_type_freeze(_ft)
+#endif
+
 BT_HIDDEN
-void bt_field_type_freeze(struct bt_field_type *type);
+void _bt_field_type_freeze(struct bt_field_type *type);
 
 BT_HIDDEN
 struct bt_field_type *bt_field_type_variant_get_field_type_signed(
This page took 0.024623 seconds and 4 git commands to generate.