~ chicken-core (chicken-5) 301b02438c83a2bf879d29ee6ed36d2530de879b


commit 301b02438c83a2bf879d29ee6ed36d2530de879b
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Fri Jun 27 09:48:29 2025 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Fri Jun 27 09:48:29 2025 +0200

    clarify C_c_string doc (pointed out by Anton Idukov)

diff --git a/manual/C interface b/manual/C interface
index bb750521..bceb83e3 100644
--- a/manual/C interface	
+++ b/manual/C interface	
@@ -627,8 +627,9 @@ of a given type.
  [C function] void* C_pointer_address (C_word pointer)
 
 These macros and functions can be used to convert Scheme data objects
-back to C data. Note that {{C_c_string()}} returns a pointer
-to the character buffer of the actual Scheme object and is not
+back to C data. Note that {{C_c_string()}} takes a bytevector and returns
+a pointer to the contents as a character pointer. If the bytevector is the
+character sequence obtained from a string, then it is implicitly
 zero-terminated.
 
 ==== C_header_size
Trap