mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP
This commit is contained in:
parent
5194ad0e50
commit
3066156762
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ TODO
|
|||
|
||||
# Foreign Function Interface
|
||||
|
||||
Arbitrary C code can be called by using `define-c` to define a C function. For example:
|
||||
The `define-c` special form can be used to define a function containing user-defined C code. This code will be carried through from the Scheme file all the way to the compiled C file. For example:
|
||||
|
||||
(define-c Cyc-add-exception-handler
|
||||
"(void *data, int argc, closure _, object k, object h)"
|
||||
|
|
Loading…
Add table
Reference in a new issue