Mercurial > projects > dwt-mac
diff dwt/internal/objc/bindings.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 380af2bdd8e5 |
children | 30a762abda2a |
line wrap: on
line diff
--- a/dwt/internal/objc/bindings.d Wed Aug 27 14:10:03 2008 +0200 +++ b/dwt/internal/objc/bindings.d Wed Aug 27 14:30:35 2008 +0200 @@ -10,7 +10,7 @@ import dwt.internal.c.qd.QuickdrawTypes : BOOL; import dwt.internal.objc.runtime; -extern (C): +extern cast(C): BOOL class_addIvar (Class cls, /*const*/char* name, size_t size, byte alignment, /*const*/char* types); BOOL class_addMethod (Class cls, SEL name, IMP imp, /*const*/char* types); @@ -26,7 +26,7 @@ void objc_msgSend_stret(void* stretAddr, id theReceiver, SEL theSelector, ...); id objc_msgSendSuper (objc_super* superr, SEL op, ...); -version (X86) +version cast(X86) double objc_msgSend_fpret(id self, SEL op, ...); version (build)