Handbook
Glossary
gdbm-next-key* ( key -- next-key ? )
Vocabulary
gdbm
Inputs
key
an
object
Outputs
next-key
an
object
?
a
boolean
Word description
Given a key returns next key in the database. The boolean flag can decide between the case of reaching the end of the database and a case of a next value set to
f
.
Definition
USING:
destructors
gdbm.ffi
gdbm.private
kernel
;
IN:
gdbm
:
gdbm-next-key*
( key -- next-key ? )
[
dbf
swap
object>datum
gdbm_nextkey
datum>object*
]
with-destructors
;