Next Previous Up Top Contents Index

6 Type Reference

:ef-mb-string

FLI type descriptor

Summary

Converts between a Lisp string and a C multi-byte string with a specified maximum number of bytes.
Package

fli

Syntax

:ef-mb-string &key limit external-format null-terminated-p

Arguments

limit

The maximum number of bytes of the C multi-byte string.

external-format

The format of the foreign string.

null-terminated-p

Boolean. When true (the default), causes a null byte to be added to the foreign string.

Description

The FLI:ef-mb-string type converts between a Lisp string and a C multi-byte string. The C string may have a maximum length of limit bytes.
The external-format is used to specify the format of the foreign string. It defaults to a format appropriate for C string of typechar*.
See Also

:ef-wc-string

LispWorks Foreign Language Interface - 12 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker