From d0dd29fcf87b51280dd5c2685063ea42cf4fc115 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 15 Sep 2007 14:03:32 +0200 Subject: Make the code copied from PyObjC compilable stand-alone. darcs-hash:6a1f1865b6259fc5a7551ffb10494f914359ecc6 --- Objective-C/objc-runtime-apple.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Objective-C/objc-runtime-apple.h') diff --git a/Objective-C/objc-runtime-apple.h b/Objective-C/objc-runtime-apple.h index fb15b27..8d050a1 100644 --- a/Objective-C/objc-runtime-apple.h +++ b/Objective-C/objc-runtime-apple.h @@ -24,6 +24,11 @@ #include #include +#include +#include +#include +#include + static inline int PyObjCRT_SameSEL(SEL a, SEL b) { @@ -70,8 +75,8 @@ PyObjCRT_ClassAddMethodList(Class cls, struct objc_method_list* lst) } -extern struct objc_method_list* PyObjCRT_AllocMethodList(Py_ssize_t); -extern struct objc_protocol_list* PyObjCRT_AllocProtocolList(Py_ssize_t); +extern struct objc_method_list* PyObjCRT_AllocMethodList(ssize_t); +extern struct objc_protocol_list* PyObjCRT_AllocProtocolList(ssize_t); typedef Method PyObjCRT_Method_t; typedef Ivar PyObjCRT_Ivar_t; -- cgit v1.2.3