Use uint32_t rather than enum as fields for ABI
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Oct 2022 09:39:31 +0000 (05:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Oct 2022 09:39:31 +0000 (05:39 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/trace.h

index 26b96e5507533835c438ee6645c0d446cd78fd3a..0a25887c29a5a0ab162fb03130b7c1a2454bc9a9 100644 (file)
@@ -110,7 +110,7 @@ typedef enum side_visitor_status (*side_dynamic_vla_visitor)(
                void *app_ctx);
 
 struct side_type_description {
-       enum side_type type;
+       uint32_t type;  /* enum side_type */
        //TODO: we should add something like a list of user attributes (namespaced strings)
        union {
                struct {
@@ -152,7 +152,7 @@ struct side_arg_dynamic_vec_vla {
 };
 
 struct side_arg_dynamic_vec {
-       enum side_dynamic_type dynamic_type;
+       uint32_t dynamic_type;  /* enum side_dynamic_type */
        union {
                uint8_t side_u8;
                uint16_t side_u16;
This page took 0.02349 seconds and 4 git commands to generate.