Handbook
Glossary
free-to-pool ( object -- )
Pools
Prev:
new-from-pool ( class -- object )
Vocabulary
memory
.
pools
Inputs
object
an
object
Outputs
None
Word description
Frees an object from the
pool
it was allocated from. The object must have been allocated by
new-from-pool
.
See also
POOL:
,
class-pool
,
set-class-pool
,
new-from-pool
Definition
USING:
classes
kernel
;
IN:
memory.pools
:
free-to-pool
( object -- )
dup
class-of
class-pool
pool-free
;