about summary refs log tree commit diff stats
path: root/wrapperhelper/src/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'wrapperhelper/src/machine.h')
-rw-r--r--wrapperhelper/src/machine.h4
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