47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
[OFAutoreleasePool addObject: self];
return self;
}
static void __attribute__((constructor))
init()
{
Class NSAutoreleasePool = objc_getClass("NSAutoreleasePool");
Class NSObject = objc_getClass("NSObject");
Method alloc_method;
Method addObject_method;
Method autorelease_method;
|
|
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
[OFAutoreleasePool addObject: self];
return self;
}
static void __attribute__((constructor))
init(void)
{
Class NSAutoreleasePool = objc_getClass("NSAutoreleasePool");
Class NSObject = objc_getClass("NSObject");
Method alloc_method;
Method addObject_method;
Method autorelease_method;
|