comparison 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
comparison
equal deleted inserted replaced
155:e91dcbf77cc7 156:969e7de37c3d
211 (cast(fp)&dwt.internal.objc.bindings.objc_msgSend_stret)(stretAddr, theReceiver, theSelector, args); 211 (cast(fp)&dwt.internal.objc.bindings.objc_msgSend_stret)(stretAddr, theReceiver, theSelector, args);
212 } 212 }
213 213
214 else 214 else
215 { 215 {
216 alias extern (C) T function (id, SEL, ARGS) fp; 216 alias extern (C) T* function (id, SEL, ARGS) fp;
217 *stretAddr = (*cast(fp)&dwt.internal.objc.bindings.objc_msgSend)(theReceiver, theSelector, args); 217 stretAddr = (cast(fp)&dwt.internal.objc.bindings.objc_msgSend)(theReceiver, theSelector, args);
218 } 218 }
219 } 219 }
220 220
221 id objc_msgSendSuper (ARGS...) (objc_super* superr, SEL op, ARGS args) 221 id objc_msgSendSuper (ARGS...) (objc_super* superr, SEL op, ARGS args)
222 { 222 {