15 lines
697 B
Text
15 lines
697 B
Text
$NetBSD: patch-af,v 1.1 2012/10/22 22:35:53 rh Exp $
|
|
|
|
Make this compile with libobjc2.
|
|
|
|
--- EDObjcRuntime.h.orig 2003-01-25 22:33:43.000000000 +0000
|
|
+++ EDObjcRuntime.h
|
|
@@ -51,7 +51,7 @@
|
|
#define EDObjcMsgSend1(obj, sel, obj1) objc_msg_lookup((obj), (sel))((obj), (sel), (obj1))
|
|
#define EDObjcMsgSend2(obj, sel, obj1, obj2) objc_msg_lookup((obj), (sel))((obj), (sel), (obj1), (obj2))
|
|
#define EDObjcMsgSend3(obj, sel, obj1, obj2, obj3) objc_msg_lookup((obj), (sel))((obj), (sel), (obj1), (obj2), (obj3))
|
|
-#define EDObjcMethodInfo Method_t
|
|
+#define EDObjcMethodInfo Method
|
|
#define EDObjcClassGetInstanceMethod class_get_instance_method
|
|
#define EDObjcClassGetClassMethod class_get_class_method
|
|
|