http://d.puremagic.com/issues/show_bug.cgi?id=10485
--- Comment #4 from changlon <[email protected]> 2013-06-27 18:49:17 PDT --- Thanks for the quick response. I will use that scope late, the struct wrapper will not work here. I use this: ----- string test(string name, alias T1)(){ string code = "scope " ~ name ~ " = new ubyte[ " ~ T1.stringof~ ".length + 1 ];\n" ; code ~= data ~ "[$-1] = 0;\n" ; return code ; } void main(strings args){ mixin( test!("var", args[0]) ) ; capi_call(var.ptr); } ---- I will create bug for scope mixin. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
