Handbook
Glossary
malloc-ptr? ( object -- ? )
Vocabulary
libc
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
malloc-ptr
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
libc.private
:
malloc-ptr?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
malloc-ptr
eq?
]
[
drop
f
]
if
;