From cc43bfdd364a172c8accc47fab9678269bafb523 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 3 May 2025 07:45:07 +0300 Subject: [PATCH] Updated documentation --- README.md | 4 +- documentation/foreign-c.html | 193 +++++++++++++++++++++++++++++------ documentation/foreign-c.pdf | Bin 46510 -> 52777 bytes 3 files changed, 163 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 3fec8b0..741220e 100644 --- a/README.md +++ b/README.md @@ -339,7 +339,9 @@ Returns **#t** if _obj_ is a null C pointer, otherwise returns **#f**. Frees _c-bytevector_ from memory. -(**call-with-address-of**) +(**call-with-address-of** _c-bytevector_ _thunk_) + +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 diff --git a/documentation/foreign-c.html b/documentation/foreign-c.html index e0b7eec..be7e230 100644 --- a/documentation/foreign-c.html +++ b/documentation/foreign-c.html @@ -26,13 +26,71 @@ Schemes - 0.10.0
  • Documentation