What does this mean (a change in 0.150)
Ameer Armaly
ameer_armaly at hotmail.com
Tue Mar 28 13:58:12 PST 2006
"Cris" <central_p at hotmail.com> wrote in message
news:e0cavo$g93$1 at digitaldaemon.com...
> hat's New for D 0.150
> Mar 18, 2006
>
> New/Changed Features
>
> * Moved string.h functions from std.string to std.c.string.
>
> I replaced std.string with std.c.string and now I get that kind of errors:
>
>
>
> src\base\glee\glee.d(8324): undefined identifier module string.toString
> src\base\glee\glee.d(8324): function expected before (), not module
> string.toString of type void
> src\base\glee\glee.d(8324): Can only append to dynamic arrays, not
> char[][] ~= int
>
>
> here is the line:
>
> extList.names~=std.c.string.toString(extName);
It means that to use C string functions you should import std.c.string;
std.string is the same.
More information about the Digitalmars-d
mailing list