core: Add data_raw_type() helper macro

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-02-16 13:48:56 -05:00
parent 222b96f20e
commit 3d6cc301f3

View File

@@ -28,6 +28,10 @@ struct data_type {
uint8_t ptr_depth;
};
/* Convert 'struct' data type pointer to raw */
#define data_raw_type(dtype_p) \
(dtype_p)->type
/*
* Convert a token type into a data type GRAB IT
* CHOKE IT! FUCK FUCK FUCK FUCK anyways