ffi doc: make-wrap-<id>
binding from define-cstruct
When `#:property` is used wih `(define-cstruct _<id> ....)`, then `make-wrap-<id>` is among the defined identifiers.
This commit is contained in:
parent
b0d753e2d6
commit
88464b327a
|
@ -1324,6 +1324,10 @@ The resulting bindings are as follows:
|
||||||
only when a @racket[#:property] is specified --- a structure type that
|
only when a @racket[#:property] is specified --- a structure type that
|
||||||
corresponds to a wrapper to reflect properties (see below).}
|
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
|
Objects of the new type are actually C pointers, with a type tag that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user