Handbook
Glossary
protocol>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
protocol>>
( object -- value )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.ffi
;
M:
addrinfo
protocol>>
T{
struct-slot-spec
{
name
"protocol"
}
{
offset 12
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
curl.ffi
math
;
M:
curl_sockaddr
protocol>>
T{
struct-slot-spec
{
name
"protocol"
}
{
offset 8
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline
USING:
accessors
slots.private
urls
;
M:
url
protocol>>
2
slot
;
inline