comparison dstep/objc/objc.d @ 20:6255d355d752

Made it compile with dmd 1.056
author Jacob Carlborg <doob@me.com>
date Wed, 03 Feb 2010 18:28:01 +0100
parents 19885b43130e
children 420969b22201
comparison
equal deleted inserted replaced
19:ae08a08f44d3 20:6255d355d752
149 alias extern (C) T function (id, SEL, ARGS) fp; 149 alias extern (C) T function (id, SEL, ARGS) fp;
150 stretAddr = (*cast(fp)&bindings.objc_msgSend)(this, op, args); 150 stretAddr = (*cast(fp)&bindings.objc_msgSend)(this, op, args);
151 } 151 }
152 } 152 }
153 153
154 static if (dstep.internal.Version.X86 || X86_64) 154 static if (dstep.internal.Version.X86 || dstep.internal.Version.X86_64)
155 { 155 {
156 R msgSend_fpret (R, ARGS...) (SEL op, ARGS args) 156 R msgSend_fpret (R, ARGS...) (SEL op, ARGS args)
157 { 157 {
158 version (X86_64) 158 version (X86_64)
159 static assert(is(R == real), "dstep.objc.objc.objc_object.msgSend_fpret: Only real are legal return value for objc_msgSend_fpret"); 159 static assert(is(R == real), "dstep.objc.objc.objc_object.msgSend_fpret: Only real are legal return value for objc_msgSend_fpret");