Mercurial > projects > dwt-linux
comparison dwt/internal/gtk/OS.d @ 324:174bd206cf10
rename version LLVMDC to LDC
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 07 Oct 2008 17:50:07 +0200 |
parents | ffb904674b52 |
children | 68adc3a367d9 |
comparison
equal
deleted
inserted
replaced
323:964972e7fa4d | 324:174bd206cf10 |
---|---|
614 | 614 |
615 | 615 |
616 template NameOfFunc(alias f) { | 616 template NameOfFunc(alias f) { |
617 // Note: highly dependent on the .stringof formatting | 617 // Note: highly dependent on the .stringof formatting |
618 // the value begins with "& " which is why the first two chars are cut off | 618 // the value begins with "& " which is why the first two chars are cut off |
619 version( LLVMDC ){ | 619 version( LDC ){ |
620 // stringof in LLVMDC is "&foobar" | 620 // stringof in LLVMDC is "&foobar" |
621 const char[] NameOfFunc = (&f).stringof[1 .. $]; | 621 const char[] NameOfFunc = (&f).stringof[1 .. $]; |
622 } | 622 } |
623 else{ | 623 else{ |
624 // stringof in DMD is "& foobar" | 624 // stringof in DMD is "& foobar" |