From d6ba5a2820c2c89df52e92d9ebf7d5a6b3fcc357 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 30 Sep 2008 14:37:46 +0000 Subject: [PATCH] minor typos in FFI doc svn: r11914 --- collects/scribblings/foreign/types.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collects/scribblings/foreign/types.scrbl b/collects/scribblings/foreign/types.scrbl index f25a32b24c..9594ceeb45 100644 --- a/collects/scribblings/foreign/types.scrbl +++ b/collects/scribblings/foreign/types.scrbl @@ -293,12 +293,12 @@ default; other possible values are @scheme['stdcall] and especially important on Windows, where most system functions are @scheme['stdcall], which is not the default. -The optional @scheme[wrapper-proc], if provided, is expected to be a function that +The optional @scheme[wrapper], if provided, is expected to be a function that can change a callout procedure: when a callout is generated, the wrapper is applied on the newly created primitive procedure, and its result is used as the -new function. Thus, @scheme[wrapper-proc] is a hook that can perform various argument +new function. Thus, @scheme[wrapper] is a hook that can perform various argument manipulations before the foreign function is invoked, and return different -results (for example, grabbing a value stored in an `output' pointer and +results (for example, grabbing a value stored in an ``output'' pointer and returning multiple values). It can also be used for callbacks, as an additional layer that tweaks arguments from the foreign code before they reach the Scheme procedure, and possibly changes the result values too.}