From 26b7a49d8279984a01ea5dc19b05cefff0693e35 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sun, 8 Sep 2024 22:26:35 +0200 Subject: [WRAPPERHELPER] Fixed preprocessor logic, moved type validation to machine (#1808) --- wrapperhelper/src/machine.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wrapperhelper/src/machine.h') diff --git a/wrapperhelper/src/machine.h b/wrapperhelper/src/machine.h index 0f850fef..5570a4af 100644 --- a/wrapperhelper/src/machine.h +++ b/wrapperhelper/src/machine.h @@ -8,6 +8,7 @@ #include "vector.h" struct macro_s; // preproc_private.h +struct type_s; // lang.h typedef struct machine_s { // Preprocessor @@ -20,6 +21,7 @@ typedef struct machine_s { // Parsing size_t size_long; + size_t align_valist, size_valist; // TODO: also have info on unnamed bitfields, etc } machine_t; @@ -30,4 +32,6 @@ extern machine_t machine_x86_64; int init_machines(size_t npaths, const char *const *extra_include_path); void del_machines(void); +int validate_type(machine_t *target, struct type_s *typ); + #endif // MACHINE_H -- cgit 1.4.1