summaryrefslogtreecommitdiff
path: root/src/perl/common/typemap
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-06 05:03:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-06 05:03:11 +0000
commite95f309b500e37ceb65f533fa0267a2864511228 (patch)
treee5f9e8705ceaa33fdd6c62c389312652de961865 /src/perl/common/typemap
parenta99e93ef5d8dd4002580532ee25316c3860c1e4a (diff)
downloadirssi-e95f309b500e37ceb65f533fa0267a2864511228.zip
perl changes - values() method doesn't exist anymore, instead of
$server->values()->{...} you now use directly $server->{...} git-svn-id: http://svn.irssi.org/repos/irssi/trunk@972 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/typemap')
-rw-r--r--src/perl/common/typemap25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/perl/common/typemap b/src/perl/common/typemap
index b642cbb4..7b90681d 100644
--- a/src/perl/common/typemap
+++ b/src/perl/common/typemap
@@ -1,12 +1,12 @@
TYPEMAP
-Irssi::Chatnet T_PTROBJ
-Irssi::Server T_PTROBJ
-Irssi::Connect T_PTROBJ
+Irssi::Chatnet T_IrssiObj
+Irssi::Server T_IrssiObj
+Irssi::Connect T_IrssiObj
Irssi::Reconnect T_PTROBJ
-Irssi::Channel T_PTROBJ
-Irssi::Query T_PTROBJ
+Irssi::Channel T_IrssiObj
+Irssi::Query T_IrssiObj
Irssi::Command T_PTROBJ
-Irssi::Nick T_PTROBJ
+Irssi::Nick T_IrssiObj
Irssi::Ignore T_PTROBJ
Irssi::Log T_PTROBJ
Irssi::LogItem T_PTROBJ
@@ -15,4 +15,15 @@ Irssi::Module T_PTROBJ
Irssi::Theme T_PTROBJ
Irssi::Keyinfo T_PTROBJ
Irssi::Window T_PTROBJ
-Irssi::Windowitem T_PTROBJ
+Irssi::Windowitem T_IrssiObj
+
+INPUT
+
+T_IrssiObj
+ $var = irssi_ref_object($arg)
+
+OUTPUT
+
+T_IrssiObj
+ $arg = irssi_bless((SERVER_REC *)$var);
+