mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Simplify memory management/initialisation for strings and data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7621 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ef6773dfb5
commit
bcb5c31bce
12 changed files with 248 additions and 608 deletions
|
@ -111,8 +111,8 @@ void _fastBuildCache()
|
|||
static objc_mutex_t retain_counts_gate = NULL;
|
||||
|
||||
#if GS_WITH_GC == 0
|
||||
#define REFCNT_LOCAL 1
|
||||
#define CACHE_ZONE 1
|
||||
#define REFCNT_LOCAL 0
|
||||
#define CACHE_ZONE 0
|
||||
#endif
|
||||
|
||||
#if defined(REFCNT_LOCAL) || defined(CACHE_ZONE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue