Foreign Functions
Pre-converted octet arrays can be used to avoid excessive runtime string conversion.
Example:
(def-foreign-call ff ((st (* :char)
(array (unsigned-byte 8)))
:strings-convert nil)
(let ((octets (string-to-octets "hello")))
(ff octets))
Previous slide
Next slide
Back to first slide
View graphic version