Errors
dxtr edited this page 2026-10-18 16:42:17 +02:00

Page revisions

4 Commits

Author SHA1 Message Date
d606a5aa30 Follow cl-vk 9b22588: the types functions declare
The API reference describes the types object and extent, the ranges of
version, and what raw-handle and adopt-surface refuse.  Errors and the
generator's page say that SBCL checks the declared types on entry, and
warns when it compiles a call with a constant of the wrong type.
2026-10-18 16:42:17 +02:00
0b3a5ea088 Follow cl-vk 68abaf3: the nickname vk-ffi for cl-vk/ffi
The pages call the raw layer's package vk-ffi, as the README and the
tests now do, where they called it %vk.
2026-10-18 16:13:19 +02:00
9bfd5530f8 Describe cl-vk's conditions for misuse and its escape hatches
Misuse is a type-error where check-type can say what is wrong, and a
vk-error with a message otherwise; the struct macros' expansion-time
errors are vk-errors too.  instance-commands, device-commands and
swapchain-images are escape hatches that refuse destroyed objects, and
swapchain-images has an entry of its own.  device-queue takes :family
and :index.  with-structs takes a foreign pointer for a field that
points to untyped memory.  The generator no longer has *platforms*.
2026-10-18 15:22:05 +02:00
b27a52160f Add the reference pages and the sidebar; document enum keyword rules
Add API Reference, Errors, Lifetimes and Threads, Raw FFI Layer,
Generator and Registry, and Platforms and Testing.  State the full rules
for enum keywords, including the prefix word kept before a digit
(:type-2d), and use :type-2d in the image view recipe.
2026-10-11 20:33:41 +02:00