bug#71253: [PATCH] doc: minor typo fix

Nikolaos Chatzikonstantinou <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <CAAQmeke7xuW-bucxDZcTpSmemuhgi1ihHY4B2b6Vy7njOZGF5w@mail.gmail.com>
See attachment.
0001-doc-minor-typo-fix.patch (text/x-patch, 1 KB)
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.