]> git.saurik.com Git - apple/objc4.git/blob - runtime/objcrt.h
objc4-818.2.tar.gz
[apple/objc4.git] / runtime / objcrt.h
1 #ifndef _OBJC_RT_H_
2 #define _OBJC_RT_H_
3
4 #include <objc/objc-api.h>
5
6
7 typedef struct {
8 int count; // number of pointer pairs that follow
9 void *modStart;
10 void *modEnd;
11 void *protoStart;
12 void *protoEnd;
13 void *iiStart;
14 void *iiEnd;
15 void *selrefsStart;
16 void *selrefsEnd;
17 void *clsrefsStart;
18 void *clsrefsEnd;
19 } objc_sections;
20
21 OBJC_EXPORT void *_objc_init_image(HMODULE image, const objc_sections *sects);
22 OBJC_EXPORT void _objc_load_image(HMODULE image, void *hinfo);
23 OBJC_EXPORT void _objc_unload_image(HMODULE image, void *hinfo);
24
25 #endif