comparison dstep/foundation/NSHashTable_bindings.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents 89f3c3ef1fd2
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 module dstep.foundation.NSHashTable_bindings; 1 module dstep.foundation.NSHashTable_bindings;
2 2
3 import dstep.foundation.NSArray;
4 import dstep.foundation.NSEnumerator;
5 import dstep.foundation.NSHashTable; 3 import dstep.foundation.NSHashTable;
6 import dstep.foundation.NSPointerFunctions; 4 import dstep.foundation.NSObjCRuntime;
7 import dstep.foundation.NSSet; 5 import dstep.foundation.NSZone;
8 import dstep.foundation.NSString; 6 import dstep.objc.objc;
9 import dstep.objc.bridge.Bridge;
10 import dstep.objc.objc : id;
11
12 7
13 extern (C) 8 extern (C)
14 { 9 {
15 extern 10 package void NSFreeHashTable (id table);
16 { 11 package void NSResetHashTable (id table);
17 } 12 package bool NSCompareHashTables (id table1, id table2);
13 package id NSCopyHashTableWithZone (id table, NSZone* zone);
14 package void* NSHashGet (id table, void* pointer);
15 package void NSHashInsert (id table, void* pointer);
16 package void NSHashInsertKnownAbsent (id table, void* pointer);
17 package void* NSHashInsertIfAbsent (id table, void* pointer);
18 package void NSHashRemove (id table, void* pointer);
19 package NSHashEnumerator NSEnumerateHashTable (id table);
20 package NSUInteger NSCountHashTable (id table);
21 package id NSStringFromHashTable (id table);
22 package id NSAllHashTableObjects (id table);
23 package id NSCreateHashTableWithZone (NSHashTableCallBacks callBacks, NSUInteger capacity, NSZone* zone);
24 package id NSCreateHashTable (NSHashTableCallBacks callBacks, NSUInteger capacity);
18 } 25 }
19
20 extern (C)
21 {
22 private void NSFreeHashTable (id table);
23 private void NSResetHashTable (id table);
24 private bool NSCompareHashTables (id table1, id table2);
25 private id NSCopyHashTableWithZone (id table, NSZone* zone);
26 private void* NSHashGet (id table, void* pointer);
27 private void NSHashInsert (id table, void* pointer);
28 private void NSHashInsertKnownAbsent (id table, void* pointer);
29 private void* NSHashInsertIfAbsent (id table, void* pointer);
30 private void NSHashRemove (id table, void* pointer);
31 private NSHashEnumerator NSEnumerateHashTable (id table);
32 private NSUInteger NSCountHashTable (id table);
33 private id NSStringFromHashTable (id table);
34 private id NSAllHashTableObjects (id table);
35 private id NSCreateHashTableWithZone (NSHashTableCallBacks callBacks, NSUInteger capacity, NSZone* zone);
36 private id NSCreateHashTable (NSHashTableCallBacks callBacks, NSUInteger capacity);
37 }