119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
static struct {
unsigned long version, size;
const char *name;
void *symtab;
} module = { 8, sizeof(module), NULL, &symtab };
static void __attribute__((constructor))
constructor()
{
__objc_exec_class(&module);
}
/* End of ObjC module */
#elif defined(OF_APPLE_RUNTIME) && !defined(__OBJC2__)
struct class {
struct class *isa, *super_class;
|
|
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
static struct {
unsigned long version, size;
const char *name;
void *symtab;
} module = { 8, sizeof(module), NULL, &symtab };
static void __attribute__((constructor))
constructor(void)
{
__objc_exec_class(&module);
}
/* End of ObjC module */
#elif defined(OF_APPLE_RUNTIME) && !defined(__OBJC2__)
struct class {
struct class *isa, *super_class;
|