mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 18:40:47 +00:00
Avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
13a0c075e4
commit
cc71c9bb52
1 changed files with 2 additions and 2 deletions
|
@ -134,13 +134,13 @@ static void obsFree(Observation *o);
|
|||
|
||||
#include <base/GSIArray.h>
|
||||
|
||||
#define GSI_MAP_RETAIN_KEY(X) X
|
||||
#define GSI_MAP_RETAIN_KEY(X)
|
||||
#define GSI_MAP_RELEASE_KEY(X) ((((gsaddr)X.obj) & 1) == 0 \
|
||||
? RELEASE(X.obj) : X.obj)
|
||||
#define GSI_MAP_HASH(X) doHash(X.obj)
|
||||
#define GSI_MAP_EQUAL(X,Y) doEqual(X.obj, Y.obj)
|
||||
|
||||
#define GSI_MAP_RETAIN_VAL(X) X
|
||||
#define GSI_MAP_RETAIN_VAL(X)
|
||||
#define GSI_MAP_RELEASE_VAL(X)
|
||||
#define GSI_MAP_KTYPES GSUNION_OBJ|GSUNION_INT
|
||||
#define GSI_MAP_VTYPES GSUNION_PTR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue