Isn't it dangerous to pass a D string and let the C code overwrite the string, regardless of char* vs .ptr field?
Yes. Using sprintf is dangerous regardless of what language you are using. It is advised to use D equivalents.
-Steve
Isn't it dangerous to pass a D string and let the C code overwrite the string, regardless of char* vs .ptr field?
Yes. Using sprintf is dangerous regardless of what language you are using. It is advised to use D equivalents.
-Steve