DMDScript now under Boost license
Philippe Sigaud
philippe.sigaud at gmail.com
Wed Mar 31 11:06:11 PDT 2010
On Wed, Mar 31, 2010 at 02:34, Adam Ruppe <destructionator at gmail.com> wrote:
> All right, now I'm actually done for the day.
>
> Updated the zip at the link:
> http://arsdnet.net/dcode/dmdscript_d2.zip
>
> se.addFunction!(fun, "fun"); // adding D functions is just giving
> the names. the second arg is required since stringof the alias kept
> treating it as a property.....
>
I remember having the same problem... You can try __traits(identifier,
...):
enum string scriptName = getPlainName!(__traits(identifier, T));
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20100331/c31bdcab/attachment.html>
More information about the Digitalmars-d-announce
mailing list