summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-01 17:34:03 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-01 17:34:03 +0000
commit08b869e8ee4f95385a643594cae0acfc38f743f9 (patch)
tree613e3d5717224ec9a9da97fa1821984c56883046 /src
parentc2ea82642d6f948f8a8ad6a94483aabd795f64e5 (diff)
downloadirssi-08b869e8ee4f95385a643594cae0acfc38f743f9.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/perl/common/Query.xs4
-rw-r--r--src/perl/common/Server.xs6
-rw-r--r--src/perl/irc/IrcQuery.xs4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/perl/common/Query.xs b/src/perl/common/Query.xs
index 135c6877..3af0b8d0 100644
--- a/src/perl/common/Query.xs
+++ b/src/perl/common/Query.xs
@@ -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
diff --git a/src/perl/common/Server.xs b/src/perl/common/Server.xs
index aebc8e43..6bbd7752 100644
--- a/src/perl/common/Server.xs
+++ b/src/perl/common/Server.xs
@@ -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
diff --git a/src/perl/irc/IrcQuery.xs b/src/perl/irc/IrcQuery.xs
index 3df52e86..db292852 100644
--- a/src/perl/irc/IrcQuery.xs
+++ b/src/perl/irc/IrcQuery.xs
@@ -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