Differences From Artifact [af6605d688]:
- File
src/autorelease.m
— part of check-in
[85cbeeeb04]
at
2012-07-18 00:16:18
on branch trunk
— Always compile autorelease.m if necessary.
It is also required when using the Apple runtime on OS X prior to 10.7. (user: js, size: 2748) [annotate] [blame] [check-ins using]
To Artifact [a03265b4d8]:
- File src/autorelease.m — part of check-in [7fbf13845b] at 2012-08-07 08:35:17 on branch trunk — Add autorelease.h and export functions. (user: js, size: 2773) [annotate] [blame] [check-ins using]
︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + + | #import "OFObject.h" #ifndef OF_COMPILER_TLS # import "threading.h" #endif #import "macros.h" #import "autorelease.h" #ifdef OF_COMPILER_TLS static __thread id *objects = NULL; static __thread id *top = NULL; static __thread size_t size = 0; #else static of_tlskey_t objectsKey, topKey, sizeKey; |
︙ |