On 13-08-2012 23:43, Walter Bright wrote:
On 8/13/2012 2:37 PM, Alex Rønne Petersen wrote:
I've wanted a feature like that on several occasions (mostly when
interfacing
with non-C/C++ languages). How hard it would it be to implement?
Theoretically,
it sounds simple enough.
You could do it with a pragma or something. It's always going to look
ugly, though.
With some help from Iain, I managed to hack something together:
https://github.com/D-Programming-Language/dmd/pull/1085
--
Alex Rønne Petersen
[email protected]
http://lycus.org