FFI Layer
dxtr edited this page 2026-10-19 18:41:54 +02:00

Page revisions

6 Commits

Author SHA1 Message Date
39e9f1df39 List u-get-int-property-max-value in the FFI layer 2026-10-19 18:41:54 +02:00
bc39468d29 Follow cl-icu 7c38b53: deficu declaims the ftypes
The FFI layer says that deficu declaims the ftype of each function it
defines from the foreign types, as cl-ffi's defcfun does, and that the
raw functions have theirs.  Development counts the new test.
2026-10-18 15:19:08 +02:00
db2a7fa85a Follow cl-icu 259ee67: no global nickname, BIDI-DIRECTION, load errors
The examples are written in a package that gives cl-icu the local
nickname icu, and cl-harfbuzz hb, which Home, Getting started and
Installation show, since the packages have no global nicknames now.
Loading uses asdf:load-system.  The type bidi-direction joins the API
index and the page on bidirectional text.  The errors of an ICU that
cannot be loaded or lacks a function are icu-errors, with their new
messages and hints, and a constant argument of the wrong type is a
compiler warning.  Development describes the new file layout, the form
of %checked and the new tests.
2026-10-18 15:15:36 +02:00
14430b7f81 cl-icu calls ICU through cl-ffi, not cffi
Follows cl-icu 06d1f63: cl-ffi loads libicuuc again when a saved image
starts and runs load-icu as one of its image-start hooks, so cl-icu/sys
is gone; the examples use cl-ffi's operators, loading libicui18n from a
file name as cl-ffi's load-foreign-library takes one, and a Homebrew ICU
is found through DYLD_FALLBACK_LIBRARY_PATH.
2026-10-15 11:36:39 +02:00
124fc0465a Follow cl-icu's per-paragraph BIDI-RUNS, faster SCRIPT-RUNS and new constants 2026-10-11 23:14:33 +02:00
cf3e79e5ba Document cl-icu: concepts, reference pages, ICU versions, FFI layer, cookbook 2026-10-11 23:09:00 +02:00