mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +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)
|
||||
|
|
|
|||
|
|
@ -13,20 +13,10 @@ require Exporter;
|
|||
require DynaLoader;
|
||||
|
||||
@ISA = qw(Exporter DynaLoader);
|
||||
@EXPORT = qw();
|
||||
@EXPORT = qw(INPUT_READ INPUT_WRITE);
|
||||
@EXPORT_OK = qw();
|
||||
|
||||
bootstrap Irssi $VERSION;
|
||||
|
||||
@Irssi::Ircnet::ISA = qw(Irssi::Chatnet);
|
||||
@Irssi::IrcServer::ISA = qw(Irssi::Server);
|
||||
@Irssi::IrcServerConnect::ISA = qw(Irssi::ServerConnect);
|
||||
@Irssi::IrcServerSetup::ISA = qw(Irssi::ServerSetup);
|
||||
|
||||
@Irssi::Channel::ISA = qw(Irssi::WindowItem);
|
||||
@Irssi::Query::ISA = qw(Irssi::WindowItem);
|
||||
@Irssi::IrcChannel::ISA = qw(Irssi::Channel);
|
||||
@Irssi::IrcQuery::ISA = qw(Irssi::Query);
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue