From 8ca2716452a9e3f8deab77bdcb8d3ed43045e2d4 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 3 May 2025 08:49:08 +0300 Subject: [PATCH] Updated documentation --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca5564d..4bb804f 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ to being portable by conforming to some specification. ## 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) or git clone, preferably with a tag, and copy the _foreign_ directory to your library directory. @@ -325,7 +325,7 @@ Example: ### c-bytevector 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**) @@ -343,8 +343,8 @@ Frees _c-bytevector_ from memory. Calls _thunk_ with address pointer of _c-bytevector_. -Since the support for calling C functions taking pointer address arguments, the -ones you would prefix with &, varies, some additional ceremony is needed on +Since the support for calling C functions taking pointer address arguments, +ones prefixrd with & in C, varies, some additional ceremony is needed on the Scheme side. Example: