See attachment.
From bfeb86d9c7c258ac67de9cdd0b6eabbc01ab0114 Mon Sep 17 00:00:00 2001
From: Nikolaos Chatzikonstantinou <[email protected]>
Date: Tue, 28 May 2024 23:27:38 -0400
Subject: [PATCH] doc: minor typo fix
The incorrect procedure is mentioned; see the example that immediately
follows.
* doc/ref/api-foreign.texi (Foreign Functions): fix typo to
pointer->procedure.
---
doc/ref/api-foreign.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi
index 6e2610c07..e572f176f 100644
--- a/doc/ref/api-foreign.texi
+++ b/doc/ref/api-foreign.texi
@@ -534,7 +534,7 @@ return two values, with @code{errno} as the second value.
Finally, in @code{(system foreign-library)} there is a convenient
wrapper function, joining together @code{foreign-library-pointer} and
-@code{procedure->pointer}:
+@code{pointer->procedure}:
@deffn {Scheme Procedure} foreign-library-function lib name @
[#:return-type=void] [#:arg-types='()] [#:return-errno?=#f]
--
2.39.2