23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*
* Pay special attention to NULL and nil in this file, they might be different!
* Use NULL for TLS values and nil for instance variables.
*/
static of_tlskey_t first_key, last_key;
#ifndef _WIN32 /* Not used on Win32 yet */
static void
release_all(id obj)
{
[of_tlskey_get(first_key) release];
}
#endif
@implementation OFAutoreleasePool
+ (void)initialize
{
if (self != [OFAutoreleasePool class])
return;
|
<
<
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*
* Pay special attention to NULL and nil in this file, they might be different!
* Use NULL for TLS values and nil for instance variables.
*/
static of_tlskey_t first_key, last_key;
static void
release_all(id obj)
{
[of_tlskey_get(first_key) release];
}
@implementation OFAutoreleasePool
+ (void)initialize
{
if (self != [OFAutoreleasePool class])
return;
|