Handbook
Glossary
pool-new ( pool -- object )
Vocabulary
memory
.
pools
Inputs
pool
a
pool
Outputs
object
an
object
Word description
Returns an unallocated object out of a
pool
. If the pool is exhausted,
f
is returned.
See also
pool
,
<pool>
,
pool-free
,
pool-size
Definition
USING:
kernel
memory.pools.private
;
IN:
memory.pools
:
pool-new
( pool -- object )
dup
(pool-new)
[
(pool-init)
]
[
drop
f
]
if*
;
inline