mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Revise docs
This commit is contained in:
parent
46ae8c1ad8
commit
cf1240eb4e
1 changed files with 7 additions and 1 deletions
|
@ -75,4 +75,10 @@ Scheme | C
|
|||
Useful notes:
|
||||
- Use `opaque` if you need to handle any kind of C pointer.
|
||||
- Use `string` to handle C `const char*` (`symbol` is strictly used to represent Scheme symbols).
|
||||
- `thread-data` is a special type used to pass the current thread's `gc_thread_data` instance to a C function. Objects of this type are passed implicitly when making a Scheme function call.
|
||||
- `thread-data` is a special type used to pass the current thread's `gc_thread_data` instance to a C function. These objects are passed implicitly when making a Scheme function call.
|
||||
|
||||
(c-define sub-big-nums bignum "sub_big_nums" thread-data bignum bignum)
|
||||
(sub-big-nums
|
||||
999999999999999999999999
|
||||
222222222222222222222222))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue