diff options
author | Nikolaos Chatzikonstantinou <nchatz314@gmail.com> | 2024-05-28 23:27:38 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-10-26 19:45:03 +0200 |
commit | a0368a61204e02b892069b5a7937b0c3900215ae (patch) | |
tree | 6e073d9e49c498f6b284caba9c3d4d6faf018651 | |
parent | 8d45f63c85a64c77babfffb81c60101983618bde (diff) | |
download | guile-a0368a61204e02b892069b5a7937b0c3900215ae.tar.gz |
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>
-rw-r--r-- | doc/ref/api-foreign.texi | 2 |
1 files changed, 1 insertions, 1 deletions
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] |