mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
ischannel()'s parameter updated from char -> char* as done in C API.
[irc_]query_create()'s SERVER_REC* parameter -> char *server_tag git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1044 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c2ea82642d
commit
08b869e8ee
@ -28,9 +28,9 @@ PPCODE:
|
||||
}
|
||||
|
||||
Irssi::Query
|
||||
query_create(chat_type, server, nick, automatic)
|
||||
query_create(chat_type, server_tag, nick, automatic)
|
||||
int chat_type
|
||||
Irssi::Server server
|
||||
char *server_tag
|
||||
char *nick
|
||||
int automatic
|
||||
|
||||
|
@ -106,11 +106,11 @@ OUTPUT:
|
||||
RETVAL
|
||||
|
||||
int
|
||||
ischannel(server, flag)
|
||||
ischannel(server, data)
|
||||
Irssi::Server server
|
||||
char flag
|
||||
char *data
|
||||
CODE:
|
||||
RETVAL = server->ischannel(flag);
|
||||
RETVAL = server->ischannel(data);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Server PREFIX = irc_
|
||||
|
||||
Irssi::Irc::Query
|
||||
irc_query_create(server, nick, automatic)
|
||||
Irssi::Irc::Server server
|
||||
irc_query_create(server_tag, nick, automatic)
|
||||
char *server_tag
|
||||
char *nick
|
||||
int automatic
|
||||
|
Loading…
Reference in New Issue
Block a user