Handbook
Glossary
socktype>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
socktype>>
( object -- value )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.ffi
;
M:
addrinfo
socktype>>
T{
struct-slot-spec
{
name
"socktype"
}
{
offset 8
}
{
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
socktype>>
T{
struct-slot-spec
{
name
"socktype"
}
{
offset 4
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline