Updated documentation

This commit is contained in:
retropikzel 2025-05-03 08:49:08 +03:00
parent fedc4cb571
commit 8ca2716452
1 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ to being portable by conforming to some specification.
## Installation ## Installation
Either download the latest release from Eithe download the latest release from
[https://git.sr.ht/~retropikzel/foreign-c/refs](https://git.sr.ht/~retropikzel/foreign-c/refs) [https://git.sr.ht/~retropikzel/foreign-c/refs](https://git.sr.ht/~retropikzel/foreign-c/refs)
or git clone, preferably with a tag, and copy the _foreign_ directory to your or git clone, preferably with a tag, and copy the _foreign_ directory to your
library directory. library directory.
@ -325,7 +325,7 @@ Example:
### c-bytevector ### c-bytevector
Foreign-c c-bytevector interface is copied from R6RS bytevectors, with some Foreign-c c-bytevector interface is copied from R6RS bytevectors, with some
added functionality for C null pointers. added functionality for C null pointers and manual memory management.
(**make-c-null**) (**make-c-null**)
@ -343,8 +343,8 @@ Frees _c-bytevector_ from memory.
Calls _thunk_ with address pointer of _c-bytevector_. Calls _thunk_ with address pointer of _c-bytevector_.
Since the support for calling C functions taking pointer address arguments, the Since the support for calling C functions taking pointer address arguments,
ones you would prefix with &, varies, some additional ceremony is needed on ones prefixrd with & in C, varies, some additional ceremony is needed on
the Scheme side. the Scheme side.
Example: Example: