mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 17:43:57 +00:00
Add the definition of objc_super...
llvm-svn: 44588
This commit is contained in:
parent
e412a4427b
commit
0317aeb4b6
@ -86,7 +86,11 @@ namespace {
|
||||
Rewrite.setSourceMgr(Context->SourceMgr);
|
||||
// declaring objc_selector outside the parameter list removes a silly
|
||||
// scope related warning...
|
||||
const char *s = "struct objc_selector; struct objc_class; struct objc_super;\n"
|
||||
const char *s = "struct objc_selector; struct objc_class;\n"
|
||||
"#ifndef OBJC_SUPER\n"
|
||||
"struct objc_super { struct objc_object *o; struct objc_object *superClass; };\n"
|
||||
"#define OBJC_SUPER\n"
|
||||
"#endif\n"
|
||||
"extern struct objc_object *objc_msgSend"
|
||||
"(struct objc_object *, struct objc_selector *, ...);\n"
|
||||
"extern struct objc_object *objc_msgSendSuper"
|
||||
|
Loading…
Reference in New Issue
Block a user