guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 05/07: doc: Fix typo in FFI documentation.


From: Ludovic Courtès
Subject: [Guile-commits] 05/07: doc: Fix typo in FFI documentation.
Date: Sat, 26 Oct 2024 13:45:59 -0400 (EDT)

civodul pushed a commit to branch main
in repository guile.

commit a0368a61204e02b892069b5a7937b0c3900215ae
Author: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
AuthorDate: Tue May 28 23:27:38 2024 -0400

    doc: Fix typo in FFI documentation.
    
    The incorrect procedure is mentioned; see the example that immediately
    follows.
    
    * doc/ref/api-foreign.texi (Foreign Functions): fix typo to
    pointer->procedure.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 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]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]