From 88464b327ab75200d76e7a2af8420f8b9bcd5955 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 30 Aug 2019 20:00:20 -0600 Subject: [PATCH] ffi doc: `make-wrap-` binding from `define-cstruct` When `#:property` is used wih `(define-cstruct _ ....)`, then `make-wrap-` is among the defined identifiers. --- pkgs/racket-doc/scribblings/foreign/types.scrbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/racket-doc/scribblings/foreign/types.scrbl b/pkgs/racket-doc/scribblings/foreign/types.scrbl index ea95015b7b..dbd47764b5 100644 --- a/pkgs/racket-doc/scribblings/foreign/types.scrbl +++ b/pkgs/racket-doc/scribblings/foreign/types.scrbl @@ -1324,6 +1324,10 @@ The resulting bindings are as follows: only when a @racket[#:property] is specified --- a structure type that corresponds to a wrapper to reflect properties (see below).} + @item{@racketidfont{make-wrap-}@racketvarfont{id}: only when a + @racket[#:property] is specified --- a function that takes a + cpointer and returns a wrapper structure that holds the cpointer.} + ] Objects of the new type are actually C pointers, with a type tag that