tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Bindgen: tilc_bindgen, bindings for the simple functions of a C header (issue #48)

A small parser (no preprocessor, no libclang) reads a header's top-level
declarations; the generator writes a module of @extern declarations and
the C shim they call: integers (range-checked), floats, bools, const
char * with or without a length, opaque struct pointers as Resource
(constructors and finalizers by naming), and callbacks through ADR 0015
trampolines. Everything else is reported with its line and skipped.
Snapshot tests on a header with every shape; the module type-checks and
the shim compiles with -Wall -Werror.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · dd55e4c53d99b17abaf3a0e3aa2a285e96426452

Parents 5b8d86c

10 fichiers modifiés, 1980 ajouts, 0 suppressions