diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-09 11:00:02 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-09 11:00:02 -0300 |
commit | 5cd71a01d9bc54eef12c95361646e65b85de04d3 (patch) | |
tree | 38fc54a74532fe82d6b24f9e838d7a5f8df05944 | |
parent | 85557e4c906bf66a8c3abc0c91aa5c9e65f5e033 (diff) |
rt_struct: Add `ssize_t` to list of root types
-rw-r--r-- | rt_struct.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rt_struct.h b/rt_struct.h index b1ccd5f..891443d 100644 --- a/rt_struct.h +++ b/rt_struct.h @@ -3,6 +3,7 @@ #include <stddef.h> #include <stdint.h> +#include <sys/types.h> #include <time.h> typedef enum rts_type_tag rts_type_tag; @@ -30,6 +31,7 @@ enum rts_type_tag { TAG_LONGDOUBLE, TAG_TIME, TAG_SIZE, + TAG_SSIZE, TAG_UINT8, TAG_INT8, TAG_UINT16, @@ -100,7 +102,9 @@ TYPEDEF_RTS(DOUBLE, double); TYPEDEF_RTS(LONGDOUBLE, long double); TYPEDEF_RTS(TIME, time_t); + TYPEDEF_RTS(SIZE, size_t); +TYPEDEF_RTS(SSIZE, ssize_t); TYPEDEF_RTS(UINT8, uint8_t); TYPEDEF_RTS(INT8, int8_t); |