From 696360d5f389844a3aefa58863468e70016a9592 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 10 Oct 2010 20:22:25 -0600 Subject: [PATCH] document new gc-callback protocols --- collects/scribblings/inside/memory.scrbl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/collects/scribblings/inside/memory.scrbl b/collects/scribblings/inside/memory.scrbl index 63b35834d9..c9ab2bce15 100644 --- a/collects/scribblings/inside/memory.scrbl +++ b/collects/scribblings/inside/memory.scrbl @@ -1066,6 +1066,19 @@ foreign function to be called. The following protocols are supported: corresponds to @cpp{void (*)(void*, void*, void*, int, int, int, int, int, int, int, int, int)}.} + @item{@racket['osapi_ptr_int->void] corresponds to @cpp{void + (*)(void*, int)}, but using the stdcall calling convention + under Windows.} + + @item{@racket['osapi_ptr_ptr->void] corresponds to @cpp{void + (*)(void*, void*)}, but using the stdcall calling convention + under Windows.} + + @item{@racket['osapi_ptr_int_int_int_int_ptr_int_int_long->void] + corresponds to @cpp{void (*)(void*, int, int, int, int, void*, + int, int, long)}, but using the stdcall calling convention + under Windows.} + ] After the protocol symbol, the vector should contain a pointer to a