Converts between a Lisp string and a C wide-character string of at most a specified number of characters.
The maximum number of characters of the C wide-character string.
The format of the foreign string.
The FLI :ef-wc-string
type converts between a Lisp string and a C wide-character string. The C string may have a maximum length of limit characters.
The external-format is used to specify the format of the foreign string. It defaults to a format appropriate for C string of type wchar_t*
. For Unicode encoded strings, specify :unicode
. If you want to pass a string to the Windows API, known as STR
in the Windows API terminology, specify win32:*multibyte-code-page-ef*
, which is a variable holding the external format corresponding to the current Windows multi-byte code page.