X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Ftypes.h;h=b2bcf0e8b46b1b48f2d867a5d3c90973be207102;hb=61cf588beae752e5ddfc60b6b5310f769ac9e852;hp=677818b9417b7309ec634e956dfab1f617fad394;hpb=024e61817685a20caceb4e3ef3bdc019a7af6b6e;p=babeltrace.git diff --git a/include/babeltrace/types.h b/include/babeltrace/types.h index 677818b9..b2bcf0e8 100644 --- a/include/babeltrace/types.h +++ b/include/babeltrace/types.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include @@ -141,7 +141,7 @@ int generic_rw(struct bt_stream_pos *pos, struct bt_definition *definition) struct declaration_integer { struct bt_declaration p; size_t len; /* length, in bits. */ - int byte_order; /* byte order */ + int byte_order; /* LITTLE_ENDIAN/BIG_ENDIAN, 0 == "Native" */ int signedness; int base; /* Base for pretty-printing: 2, 8, 10, 16 */ enum ctf_string_encoding encoding; @@ -163,7 +163,7 @@ struct declaration_float { struct declaration_integer *sign; struct declaration_integer *mantissa; struct declaration_integer *exp; - int byte_order; + int byte_order; /* LITTLE_ENDIAN/BIG_ENDIAN, 0 == "Native" */ /* TODO: we might want to express more info about NaN, +inf and -inf */ };