logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

chibi-ffi - generate C from Scheme stub files

Authors

       Alex Shinn

Description

chibi-ffi  reads  in the C function FFI definitions from an input file and outputs appropriate C wrappers
       into a file with the same base name and the ".c" extension (unless specified otherwise).   You  can  then
       compile that C file into a shared library:

              chibi-ffi file.stub
              cc -fPIC -shared file.c -lchibi-scheme

       If the -c option is specified then chibi-ffi attempts compiling the generated C code for you in one step.
       In this case, additional flags for the C compiler may be given with the -f option.

       The FFI syntax is described in the manual (/usr/share/doc/chibi-scheme/chibi.html, "C FFI" section).

Name

       chibi-ffi - generate C from Scheme stub files

Reporting Bugs

       Please report bugs on Github.

See Also

chibi-scheme(1)

0.9 (fluorine)                                     2020-08-08                                       CHIBI-FFI(1)

Synopsis

chibi-ffi [-c] [-fcflags] input.stub [output.c]

See Also