Handbook
Glossary
protocol<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
protocol<<
( value object -- )
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
}
}
write-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
}
}
write-struct-slot
;
inline
USING:
accessors
slots.private
urls
;
M:
url
protocol<<
2
set-slot
;
inline