Fix: add missing bt_ctf_get_int_len API
[babeltrace.git] / include / babeltrace / ctf / events.h
index 30365aaabbafd80d41e2aa6a7f2da7ec87faaff3..1cfa9e3b39cd6f37d63b004db5eaa7d3d8a5177d 100644 (file)
@@ -155,6 +155,12 @@ int bt_ctf_get_int_base(const struct definition *field);
  */
 int bt_ctf_get_int_byte_order(const struct definition *field);
 
+/*
+ * bt_ctf_get_int_len: return the size, in bits, of an int or a negative
+ * value on error
+ */
+ssize_t bt_ctf_get_int_len(const struct definition *field);
+
 /*
  * bt_ctf_get_encoding: return the encoding of an int or a string.
  * return a negative value on error
This page took 0.023544 seconds and 4 git commands to generate.