clarify free
docs: don't use with malloc
modes other than 'raw
Closes #1708
This commit is contained in:
parent
d8fcbc7b56
commit
8094ef7a02
|
@ -296,7 +296,11 @@ Uses the operating system's @cpp{free} function for
|
|||
library allocated and we should free. Note that this is useful as
|
||||
part of a finalizer (see below) procedure hook (e.g., on the Racket
|
||||
pointer object, freeing the memory when the pointer object is
|
||||
collected, but beware of aliasing).}
|
||||
collected, but beware of aliasing).
|
||||
|
||||
Memory allocated with @racket[malloc] and modes other than
|
||||
@racket['raw] must not be @racket[free]d, since those modes allocate
|
||||
memory that is managed by the garbage collector.}
|
||||
|
||||
|
||||
@defproc[(end-stubborn-change [cptr cpointer?]) void?]{
|
||||
|
|
Loading…
Reference in New Issue
Block a user