Handbook
Glossary
<pile-c-array> ( pile n c-type -- alien )
Piles
Prev:
pile-alloc ( pile size -- alien )
Next:
<pile-c-object> ( pile c-type -- alien )
Vocabulary
memory
.
piles
Inputs
pile
a
pile
n
an
integer
c-type
a C type
Outputs
alien
an
alien
Word description
Requests enough space from a
pile
to hold
n
values of
c-type
. If the pile does not have enough space to satisfy the request, a
not-enough-pile-space
error is thrown.
Definition
USING:
alien.c-types
math
;
IN:
memory.piles
:
<pile-c-array>
( pile n c-type -- alien )
heap-size
*
pile-alloc
;
inline