Handbook
Glossary
rocksdb-put* ( db write-options key value -- error/f )
Vocabulary
rocksdb
.
lib
Inputs
db
an
object
write-options
an
object
key
an
object
value
an
object
Outputs
error/f
an
object
Definition
USING:
alien.c-types
alien.data
alien.strings
io.encodings.string
io.encodings.utf8
kernel
rocksdb.ffi
sequences
;
IN:
rocksdb.lib
:
rocksdb-put*
( db write-options key value -- error/f )
[
utf8
encode
dup
length
]
bi@
f
void*
<ref>
[
rocksdb_put
]
keep
dup
[
void*
deref
alien>native-string
]
when
;