Mercurial > projects > ldc
view tangotests/d.d @ 149:4c577c2b7229 trunk
[svn r155] Fixed a bunch of linkage problems (especially with templates)
author | lindquist |
---|---|
date | Mon, 24 Mar 2008 19:43:02 +0100 |
parents | 1700239cab2e |
children |
line wrap: on
line source
char* toStringz (char[] s) { if (s.ptr) if (! (s.length && s[$-1] is 0)) s = s ~ '\0'; return s.ptr; }