Handbook
Glossary
read-struct-safe ( struct -- instance/f )
Vocabulary
tools
.
image-analyzer
.
gc-info
Inputs
struct
an
object
Outputs
instance/f
an
object
Definition
USING:
alien.c-types
classes.struct
io
kernel
;
IN:
tools.image-analyzer.gc-info
:
read-struct-safe
( struct -- instance/f )
dup
heap-size
read
[
swap
memory>struct
]
[
drop
f
]
if*
;