Handbook
Glossary
field>struct-slot ( field -- slot )
Vocabulary
gobject-introspection
.
ffi
Inputs
field
an
object
Outputs
slot
an
object
Definition
USING:
accessors
alien.c-types
classes.struct
kernel
make
;
IN:
gobject-introspection.ffi
:
field>struct-slot
( field -- slot )
[
name>>
]
[
dup
bits>>
[
drop
uint
]
[
type>>
field-type>c-type
]
if
]
[
[
[
drop
]
[
bits>>
[
bits:
,
,
]
when*
]
bi
]
V{
}
make
]
tri
<struct-slot-spec>
;