mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-04 03:36:34 +02:00
Link to API files
This commit is contained in:
parent
964ccfc361
commit
4b2a4575d0
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ The arguments to `define-c` are:
|
||||||
- `k` - Current continuation, typically the code will call into `k` with a result.
|
- `k` - Current continuation, typically the code will call into `k` with a result.
|
||||||
- A string containing the C function body. Remember that runtime functions are not allowed to return. In the example above, the `return_closcall1` macro is used to "return" a newly-allocated list to the current continuation.
|
- A string containing the C function body. Remember that runtime functions are not allowed to return. In the example above, the `return_closcall1` macro is used to "return" a newly-allocated list to the current continuation.
|
||||||
|
|
||||||
The Cyclone runtime can be used as a reference for how to write your own C functions. A good starting point would be `runtime.c` and `types.h`.
|
The Cyclone runtime can be used as a reference for how to write your own C functions. A good starting point would be [`runtime.c`](../runtime.c) and [`types.h`](../include/cyclone/types.h).
|
||||||
|
|
||||||
# Licensing
|
# Licensing
|
||||||
Cyclone is available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
|
Cyclone is available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
|
||||||
|
|
Loading…
Add table
Reference in a new issue