Handbook
Glossary
pile-align ( pile align -- pile )
Piles
Prev:
<pile-c-object> ( pile c-type -- alien )
Next:
pile-empty ( pile -- )
Vocabulary
memory
.
piles
Inputs
pile
a
pile
align
a power of two
Outputs
pile
a
pile
Word description
Adjusts a
pile
's internal state so that the next call to
pile-alloc
will return a pointer aligned to
align
bytes relative to the pile's initial offset.
Definition
USING:
accessors
kernel
math
;
IN:
memory.piles
:
pile-align
( pile align -- pile )
[
align
]
curry
change-offset
;