From: Bruno H. <br...@cl...> - 2005-01-12 15:17:41
|
Arseny Slobodyuk wrote: > If asciz_to_string were correctly handling zero-terminated wide > character strings (with unicode_16_little_endian), there would be no > need in wcslen in LispToPropVariant. It doesn't. The macro with_string_0w in modules/syscalls/calls.c does what you want. asciz_to_string is made for ASCIZ strings [1], and there are no cases where you would need a macro that supports both ASCIZ and UTF-16 strings. Bruno [1] http://ivs.cs.uni-magdeburg.de/~zbrog/asm/glossary.html |