comparison dstep/foundation/NSObject_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
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Aug 13, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.foundation.NSObject_bindings;
8
9 import dstep.foundation.NSObjCRuntime;
10 import dstep.foundation.NSZone;
11 import dstep.objc.objc;
12
13 extern (C):
14 package:
15
16 id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone* zone);
17 void NSDeallocateObject (id object);
18 id NSCopyObject (id object, NSUInteger extraBytes, NSZone* zone);
19 bool NSShouldRetainWithZone (id anObject, NSZone* requestedZone);
20 void NSIncrementExtraRefCount (id object);
21 bool NSDecrementExtraRefCountWasZero (id object);
22 NSUInteger NSExtraRefCount (id object);