summaryrefslogtreecommitdiff
path: root/includes/compiler/CInline.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--includes/compiler/CInline.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/includes/compiler/CInline.h b/includes/compiler/CInline.h
index 52cdf13..4fae90a 100644
--- a/includes/compiler/CInline.h
+++ b/includes/compiler/CInline.h
@@ -9,6 +9,22 @@
#pragma options align=mac68k
#endif
+// Not sure if these two are actually in CInline or not
+typedef struct XRefOffset {
+ UInt32 xrefoffset;
+ SInt32 offset;
+} XRefOffset;
+
+struct InlineXRef {
+ InlineXRef *next;
+ Object *object;
+ UInt16 xrefmode;
+ UInt16 numxrefs;
+ XRefOffset xref[1];
+};
+
+
+
typedef struct CI_Var {
HashNameNode *name;
Type *type;
@@ -33,10 +49,10 @@ typedef struct CI_SwitchCase {
typedef struct CI_Switch {
ENode *expr;
- void *unkSwitch8;
+ Type *unkSwitch8;
short defaultlabelID;
short numcases;
- CI_SwitchCase cases[0];
+ CI_SwitchCase cases[1];
} CI_Switch;
typedef struct CI_Statement {