Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSHashTableCallBacks.d @ 11:a329f9c3d66d
Ported dwt.internal.cocoa.SWT* again
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 22 Aug 2008 15:39:51 +0200 |
parents | 380af2bdd8e5 |
children | f565d3a95c0a |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSHashTableCallBacks.d Tue Aug 19 17:40:11 2008 +0200 +++ b/dwt/internal/cocoa/NSHashTableCallBacks.d Fri Aug 22 15:39:51 2008 +0200 @@ -13,6 +13,15 @@ *******************************************************************************/ module dwt.internal.cocoa.NSHashTableCallBacks; -public class NSHashTableCallBacks { -//TODO +import dwt.internal.cocoa.NSHashTable; +import dwt.internal.cocoa.NSString; + +public struct NSHashTableCallBacks { + extern (C): + + uint function (NSHashTable table, /*const*/ void*) hash; + bool function (NSHashTable table, /*const*/ void*, /*const*/ void*) isEqual; + void function (NSHashTable table, /*const*/ void*) retain; + void function (NSHashTable table, void*) release; + NSString function (NSHashTable table, /*const*/ void*) describe; }