#include "common/macros.h"
#include "common/assert.h"
#include <glib.h>
+#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
if (fc->base.is_signed) {
ret = bt_field_class_enumeration_signed_add_mapping(
ir_fc, mapping->label->str, range_set);
- BT_RANGE_SET_SIGNED_PUT_REF_AND_RESET(range_set);
+ BT_INTEGER_RANGE_SET_SIGNED_PUT_REF_AND_RESET(range_set);
} else {
ret = bt_field_class_enumeration_unsigned_add_mapping(
ir_fc, mapping->label->str, range_set);
- BT_RANGE_SET_UNSIGNED_PUT_REF_AND_RESET(range_set);
+ BT_INTEGER_RANGE_SET_UNSIGNED_PUT_REF_AND_RESET(range_set);
}
BT_ASSERT(ret == 0);