alien.data: <ref> doesn't need to zero memory.
parent
e5850f93e0
commit
ab5b128192
|
@ -8,7 +8,7 @@ QUALIFIED: math
|
|||
IN: alien.data
|
||||
|
||||
: <ref> ( value c-type -- c-ptr )
|
||||
[ heap-size <byte-array> ] keep
|
||||
[ heap-size (byte-array) ] keep
|
||||
'[ 0 _ set-alien-value ] keep ; inline
|
||||
|
||||
: deref ( c-ptr c-type -- value )
|
||||
|
|
Loading…
Reference in New Issue