Mercurial > projects > dstep
diff dstep/foundation/NSHashTable_bindings.d @ 14:89f3c3ef1fd2
Added the Foundation framework
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:23:15 +0200 |
parents | |
children | 19885b43130e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dstep/foundation/NSHashTable_bindings.d Mon Aug 03 15:23:15 2009 +0200 @@ -0,0 +1,37 @@ +module dstep.foundation.NSHashTable_bindings; + +import dstep.foundation.NSArray; +import dstep.foundation.NSEnumerator; +import dstep.foundation.NSHashTable; +import dstep.foundation.NSPointerFunctions; +import dstep.foundation.NSSet; +import dstep.foundation.NSString; +import dstep.objc.bridge.Bridge; +import dstep.objc.objc : id; + + +extern (C) +{ + extern + { + } +} + +extern (C) +{ + private void NSFreeHashTable (id table); + private void NSResetHashTable (id table); + private bool NSCompareHashTables (id table1, id table2); + private id NSCopyHashTableWithZone (id table, NSZone* zone); + private void* NSHashGet (id table, void* pointer); + private void NSHashInsert (id table, void* pointer); + private void NSHashInsertKnownAbsent (id table, void* pointer); + private void* NSHashInsertIfAbsent (id table, void* pointer); + private void NSHashRemove (id table, void* pointer); + private NSHashEnumerator NSEnumerateHashTable (id table); + private NSUInteger NSCountHashTable (id table); + private id NSStringFromHashTable (id table); + private id NSAllHashTableObjects (id table); + private id NSCreateHashTableWithZone (NSHashTableCallBacks callBacks, NSUInteger capacity, NSZone* zone); + private id NSCreateHashTable (NSHashTableCallBacks callBacks, NSUInteger capacity); +} \ No newline at end of file