mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
put extra info in array, and allow retain/release macros to refer to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12324 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
671c8010de
commit
c6b18d0898
15 changed files with 136 additions and 99 deletions
|
@ -1376,11 +1376,12 @@ inline void gsedRelease(GSEnumeratedDirectory X)
|
|||
closedir(X.pointer);
|
||||
}
|
||||
|
||||
#define GSI_NEW 1
|
||||
#define GSI_ARRAY_TYPES 0
|
||||
#define GSI_ARRAY_EXTRA GSEnumeratedDirectory
|
||||
#define GSI_ARRAY_TEXTRA GSEnumeratedDirectory
|
||||
|
||||
#define GSI_ARRAY_RELEASE(X) gsedRelease(X.ext)
|
||||
#define GSI_ARRAY_RETAIN(X)
|
||||
#define GSI_ARRAY_RELEASE(A, X) gsedRelease(X.ext)
|
||||
#define GSI_ARRAY_RETAIN(A, X)
|
||||
|
||||
#include <base/GSIArray.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue