Mercurial > projects > dwt-mac
diff dwt/internal/objc/runtime.d @ 156:969e7de37c3d default tip
Fixes to get dwt to work with dmd and ldc
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 08 Jul 2009 21:56:44 +0200 |
parents | e91dcbf77cc7 |
children |
line wrap: on
line diff
--- a/dwt/internal/objc/runtime.d Mon Jul 06 21:17:03 2009 +0200 +++ b/dwt/internal/objc/runtime.d Wed Jul 08 21:56:44 2009 +0200 @@ -213,8 +213,8 @@ else { - alias extern (C) T function (id, SEL, ARGS) fp; - *stretAddr = (*cast(fp)&dwt.internal.objc.bindings.objc_msgSend)(theReceiver, theSelector, args); + alias extern (C) T* function (id, SEL, ARGS) fp; + stretAddr = (cast(fp)&dwt.internal.objc.bindings.objc_msgSend)(theReceiver, theSelector, args); } }