mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
Added input_add() / input_remove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@856 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d62177df3c
commit
8dd24a4444
3 changed files with 68 additions and 31 deletions
|
|
@ -57,7 +57,39 @@ void
|
|||
timeout_remove(tag)
|
||||
int tag
|
||||
CODE:
|
||||
perl_timeout_remove(tag);
|
||||
perl_source_remove(tag);
|
||||
|
||||
|
||||
int
|
||||
INPUT_READ()
|
||||
CODE:
|
||||
RETVAL = G_INPUT_READ;
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
int
|
||||
INPUT_WRITE()
|
||||
CODE:
|
||||
RETVAL = G_INPUT_WRITE;
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
int
|
||||
input_add(source, condition, func, data)
|
||||
int source
|
||||
int condition
|
||||
char *func
|
||||
char *data
|
||||
CODE:
|
||||
RETVAL = perl_input_add(source, condition, func, data);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
input_remove(tag)
|
||||
int tag
|
||||
CODE:
|
||||
perl_source_remove(tag);
|
||||
|
||||
int
|
||||
level2bits(str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue