diff options
| author | rajdakin <rajdakin@gmail.com> | 2024-09-08 22:26:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 22:26:35 +0200 |
| commit | 26b7a49d8279984a01ea5dc19b05cefff0693e35 (patch) | |
| tree | 3ff9f05a2fb11b0e21ad7cf1829c5a9992ce7728 /wrapperhelper/src/machine.h | |
| parent | fa8a5a20336a64e5b53ea9a151c23941073381c4 (diff) | |
| download | box64-26b7a49d8279984a01ea5dc19b05cefff0693e35.tar.gz box64-26b7a49d8279984a01ea5dc19b05cefff0693e35.zip | |
[WRAPPERHELPER] Fixed preprocessor logic, moved type validation to machine (#1808)
Diffstat (limited to 'wrapperhelper/src/machine.h')
| -rw-r--r-- | wrapperhelper/src/machine.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |