1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

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>
This commit is contained in:
Nikolaos Chatzikonstantinou 2024-05-28 23:27:38 -04:00 committed by Ludovic Courtès
parent 8d45f63c85
commit a0368a6120
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -534,7 +534,7 @@ return two values, with @code{errno} as the second value.
Finally, in @code{(system foreign-library)} there is a convenient Finally, in @code{(system foreign-library)} there is a convenient
wrapper function, joining together @code{foreign-library-pointer} and wrapper function, joining together @code{foreign-library-pointer} and
@code{procedure->pointer}: @code{pointer->procedure}:
@deffn {Scheme Procedure} foreign-library-function lib name @ @deffn {Scheme Procedure} foreign-library-function lib name @
[#:return-type=void] [#:arg-types='()] [#:return-errno?=#f] [#:return-type=void] [#:arg-types='()] [#:return-errno?=#f]