summaryrefslogtreecommitdiff
path: root/includes/compiler/objc.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
committerAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
commitfcfbafff31869ed808bff0639532db1828660e92 (patch)
tree7425b346b031c4cb47a06250b3f6f950374d44ae /includes/compiler/objc.h
parentbc1321735c15104ffad195e1509cab5f3a044260 (diff)
downloadMWCC-fcfbafff31869ed808bff0639532db1828660e92.tar.gz
MWCC-fcfbafff31869ed808bff0639532db1828660e92.zip
dump lots more code
Diffstat (limited to '')
-rw-r--r--includes/compiler/objc.h60
1 files changed, 33 insertions, 27 deletions
diff --git a/includes/compiler/objc.h b/includes/compiler/objc.h
index ce3ebe4..54ff438 100644
--- a/includes/compiler/objc.h
+++ b/includes/compiler/objc.h
@@ -7,31 +7,31 @@
#pragma options align=mac68k
#endif
-typedef struct ObjCMethodArg { // bigger in v7 (0x20 vs 0x14)
- struct ObjCMethodArg *next;
+struct ObjCMethodArg { // bigger in v7 (0x20 vs 0x14)
+ ObjCMethodArg *next;
HashNameNode *selector;
HashNameNode *name;
Type *type;
UInt32 qual;
- UInt32 unk14;
- UInt32 unk18;
- UInt32 unk1C;
-} ObjCMethodArg;
+ //UInt32 unk14;
+ //UInt32 unk18;
+ //UInt32 unk1C;
+};
-typedef struct ObjCMethodList { // verified via CPrec
- struct ObjCMethodList *next;
- struct ObjCMethod *method;
-} ObjCMethodList;
+struct ObjCMethodList { // verified via CPrec
+ ObjCMethodList *next;
+ ObjCMethod *method;
+};
-typedef struct ObjCSelector { // verified via CPrec
- struct ObjCSelector *next;
+struct ObjCSelector { // verified via CPrec
+ ObjCSelector *next;
Object *selobject;
HashNameNode *name;
- struct ObjCMethodList *methods;
-} ObjCSelector;
+ ObjCMethodList *methods;
+};
-typedef struct ObjCMethod { // verified via CPrec
- struct ObjCMethod *next;
+struct ObjCMethod { // verified via CPrec
+ ObjCMethod *next;
Object *object;
TypeFunc *functype;
ObjCSelector *selector;
@@ -41,27 +41,27 @@ typedef struct ObjCMethod { // verified via CPrec
Boolean has_valist;
Boolean is_class_method;
Boolean is_defined;
-} ObjCMethod;
+};
-typedef struct ObjCProtocol { // verified via CPrec
- struct ObjCProtocol *next;
+struct ObjCProtocol { // verified via CPrec
+ ObjCProtocol *next;
HashNameNode *name;
- struct ObjCProtocolList *protocols;
+ ObjCProtocolList *protocols;
ObjCMethod *methods;
Object *object;
-} ObjCProtocol;
+};
-typedef struct ObjCProtocolList { // verified via CPrec
- struct ObjCProtocolList *next;
+struct ObjCProtocolList { // verified via CPrec
+ ObjCProtocolList *next;
ObjCProtocol *protocol;
-} ObjCProtocolList;
+};
-typedef struct ObjCCategory { // verified via CPrec
- struct ObjCCategory *next;
+struct ObjCCategory { // verified via CPrec
+ ObjCCategory *next;
HashNameNode *name;
ObjCProtocolList *protocols;
ObjCMethod *methods;
-} ObjCCategory;
+};
struct ObjCInfo { // verified via CPrec
Object *classobject;
@@ -73,6 +73,12 @@ struct ObjCInfo { // verified via CPrec
Boolean is_implemented;
};
+struct ObjCNamedArg {
+ ObjCNamedArg *next;
+ HashNameNode *name;
+ ENode *expr;
+};
+
#ifdef __MWERKS__
#pragma options align=reset
#endif