mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Another attempt to work with non-fragile abi
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38838 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4234288d5
commit
14d22790b6
4 changed files with 18 additions and 5 deletions
|
@ -41,6 +41,8 @@
|
|||
#import "GSPrivate.h"
|
||||
|
||||
static Class concreteClass = Nil;
|
||||
static unsigned instanceSize = 0;
|
||||
|
||||
|
||||
/* Here is the interface for the concrete class as used by the functions.
|
||||
*/
|
||||
|
@ -73,6 +75,7 @@ typedef GSIMapNode_t *GSIMapNode;
|
|||
#define GSI_MAP_HAS_VALUE 0
|
||||
#define GSI_MAP_KTYPES GSUNION_PTR | GSUNION_OBJ
|
||||
#define GSI_MAP_TABLE_T NSConcreteHashTable
|
||||
#define GSI_MAP_TABLE_S instanceSize
|
||||
|
||||
#define GSI_MAP_HASH(M, X)\
|
||||
(M->legacy ? M->cb.old.hash(M, X.ptr) \
|
||||
|
@ -827,8 +830,6 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
|
|||
|
||||
@implementation NSConcreteHashTable
|
||||
|
||||
static unsigned instanceSize = 0;
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
if (concreteClass == Nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue