Handbook
Glossary
readline_state
Vocabulary
readline
.
ffi
Definition
USING:
alien.c-types
classes.struct
unix.types
;
IN:
readline.ffi
STRUCT:
readline_state
{
point
int
initial:
0
}
{
end
int
initial:
0
}
{
mark
int
initial:
0
}
{
buffer char*
}
{
buflen
int
initial:
0
}
{
ul UNDO_LIST*
}
{
prompt char*
}
{
rlstate
int
initial:
0
}
{
done
int
initial:
0
}
{
kmap
Keymap
}
{
lastfunc rl_command_func_t*
}
{
insmode
int
initial:
0
}
{
edmode
int
initial:
0
}
{
kseqlen
int
initial:
0
}
{
inf FILE*
}
{
outf FILE*
}
{
pendingin
int
initial:
0
}
{
macro char*
}
{
catchsigs
int
initial:
0
}
{
catchsigwinch
int
initial:
0
}
{
reserved char[64]
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
readline.ffi
;
M:
readline_state
clone
clone-underlying
\
readline_state
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
readline.ffi
;
M:
readline_state
struct-slot-values
{
[
point>>
]
[
end>>
]
[
mark>>
]
[
buffer>>
]
[
buflen>>
]
[
ul>>
]
[
prompt>>
]
[
rlstate>>
]
[
done>>
]
[
kmap>>
]
[
lastfunc>>
]
[
insmode>>
]
[
edmode>>
]
[
kseqlen>>
]
[
inf>>
]
[
outf>>
]
[
pendingin>>
]
[
macro>>
]
[
catchsigs>>
]
[
catchsigwinch>>
]
[
reserved>>
]
}
cleave>array
;
inline