Next Prev Up Top Contents Index

:ef-wc-string

FLI type descriptor
Summary

Converts between a Lisp string and a C wide-character string of at most a specified number of characters.

Package

fli

Syntax

:ef-wc-string limit &optional external-format

Arguments

limit

The maximum number of characters of the C wide-character string.

external-format

The format of the foreign string.

Description

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.

See Also

:ef-mb-string


LispWorks Foreign Language Interface User Guide and Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index