Revise docs

This commit is contained in:
Justin Ethier 2021-01-27 22:40:49 -05:00
parent 46ae8c1ad8
commit cf1240eb4e

View file

@ -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))