Mercurial > projects > ldc
view tangotests/d.d @ 142:a123dca8349b trunk
[svn r146] fixed some potential problems with mismatch in order of interfaces in class data layout
author | lindquist |
---|---|
date | Wed, 23 Jan 2008 15:48:19 +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; }