Next Previous Up Top Contents Index

6 Type Reference

: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 &key limit external-format null-terminated-p

Arguments

limit

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

external-format

The format of the foreign string.

null-terminated-p

Boolean. When true (the default), causes a null word to be added to 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 typewchar_t*. For Unicode encoded strings, specify:unicode.
See Also

:ef-mb-string

LispWorks Foreign Language Interface - 12 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker