Add base integer attribute, and use it in ctf-text
[babeltrace.git] / include / babeltrace / types.h
index a4dcdee933be4f19dc9fda9d684534ca85f556c3..33311a683dae1056ff48928b4f4f0e3f83a788a4 100644 (file)
@@ -138,6 +138,7 @@ struct declaration_integer {
        size_t len;             /* length, in bits. */
        int byte_order;         /* byte order */
        int signedness;
+       int base;               /* Base for pretty-printing: 2, 8, 10, 16 */
 };
 
 struct definition_integer {
@@ -378,7 +379,8 @@ void definition_ref(struct definition *definition);
 void definition_unref(struct definition *definition);
 
 struct declaration_integer *integer_declaration_new(size_t len, int byte_order,
-                                     int signedness, size_t alignment);
+                                 int signedness, size_t alignment,
+                                 int base);
 
 /*
  * mantissa_len is the length of the number of bytes represented by the mantissa
This page took 0.022204 seconds and 4 git commands to generate.