X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftypes.h;h=37ee9291cb8ec052647bb430e5f236c0971f2bc9;hp=ad28ac0912c85e98e8bc2c27acd0474e446e1d47;hb=add40b62157cb13cfa1144c59f6bb6054ad5b8a1;hpb=a3cca9e94429c6a510f60924daf24ca9bd924753 diff --git a/include/babeltrace/types.h b/include/babeltrace/types.h index ad28ac09..37ee9291 100644 --- a/include/babeltrace/types.h +++ b/include/babeltrace/types.h @@ -398,18 +398,14 @@ void declaration_unref(struct declaration *declaration); void definition_ref(struct definition *definition); void definition_unref(struct definition *definition); -/* Nameless declarations can be created by passing a NULL name */ - -struct declaration_integer *integer_declaration_new(const char *name, - size_t len, int byte_order, +struct declaration_integer *integer_declaration_new(size_t len, int byte_order, int signedness, size_t alignment); /* * mantissa_len is the length of the number of bytes represented by the mantissa * (e.g. result of DBL_MANT_DIG). It includes the leading 1. */ -struct declaration_float *float_declaration_new(const char *name, - size_t mantissa_len, +struct declaration_float *float_declaration_new(size_t mantissa_len, size_t exp_len, int byte_order, size_t alignment);