mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Try to address issue of treating pointer function values as bitmap.
This commit is contained in:
parent
c1833e1130
commit
b0263ae4a8
4 changed files with 26 additions and 27 deletions
|
@ -77,7 +77,7 @@ typedef GSIMapNode_t *GSIMapNode;
|
|||
#define GSI_MAP_TABLE_S instanceSize
|
||||
|
||||
#define IS_WEAK(M) \
|
||||
M->cb.pf.options & (NSPointerFunctionsZeroingWeakMemory | NSPointerFunctionsWeakMemory)
|
||||
memoryType(M->cb.pf.options, NSPointerFunctionsZeroingWeakMemory) | memoryType(M->cb.pf.options, NSPointerFunctionsWeakMemory)
|
||||
#define GSI_MAP_HASH(M, X)\
|
||||
(M->legacy ? M->cb.old.hash(M, X.ptr) \
|
||||
: pointerFunctionsHash(&M->cb.pf, X.ptr))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue