darling-cocotron/objc/deprecated.h
Christopher Lloyd 97a4048fb2 Updated towards Objective-C 2.0 runtime API and some decoupling of objc runtime from Foundation
- added 2.0 objc/runtime.h, message.h with most of the declarations
- added deprecated.h for deprecated declarations
- cleanup objc-class.h to use standard naming for structs
- moved FOUNDATION_EXPORT to NSObjCRuntime.h
- deleted ObjCTypes.h, ObjectiveC.h
- moved Object.h/Protocol.h to objc headers
- added method.m, ivar.m for method_ and ivar_ functions
- Changed all use of deprecated SELNAME to sel_getName
- Changed use of OBJCLog in Foundation to replacement NSCLog
- Changed most all the equivalent OBJC* names to 2.0 function names
- rename OBJCIsKindOfClass to NSObjectIsKindOfClass, move to NSObject.m
- removed empty OBJCReportStatistics, objc_lock.h
2009-04-07 00:17:26 +00:00

9 lines
273 B
Objective-C

#import <objc/runtime.h>
#define SELNAME sel_getName
OBJC_EXPORT void class_addMethods(Class class,struct objc_method_list *methodList);
OBJC_EXPORT struct objc_method_list *class_nextMethodList(Class class,void **iterator);
OBJC_EXPORT BOOL sel_isMapped(SEL selector);