summaryrefslogtreecommitdiff
path: root/src/perl/irc/typemap
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/irc/typemap')
-rw-r--r--src/perl/irc/typemap11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/perl/irc/typemap b/src/perl/irc/typemap
index bfd3954d..8608e384 100644
--- a/src/perl/irc/typemap
+++ b/src/perl/irc/typemap
@@ -6,7 +6,10 @@ Irssi::Irc::Query T_IrssiObj
Irssi::Irc::Nick T_IrssiObj
Irssi::Irc::Ban T_PlainObj
-Irssi::Irc::Dcc T_PlainObj
+Irssi::Irc::Dcc T_DccObj
+Irssi::Irc::Dcc::Chat T_DccObj
+Irssi::Irc::Dcc::Get T_DccObj
+Irssi::Irc::Dcc::Send T_DccObj
Irssi::Irc::Netsplit T_PlainObj
Irssi::Irc::Netsplitserver T_PlainObj
Irssi::Irc::Netsplitchannel T_PlainObj
@@ -20,6 +23,9 @@ INPUT
T_IrssiObj
$var = irssi_ref_object($arg)
+T_DccObj
+ $var = irssi_ref_object($arg)
+
T_PlainObj
$var = irssi_ref_object($arg)
@@ -28,6 +34,9 @@ OUTPUT
T_IrssiObj
$arg = irssi_bless((SERVER_REC *)$var);
+T_DccObj
+ $arg = dcc_bless((DCC_REC *)$var);
+
T_PlainObj
$arg = irssi_bless_plain(\"$type\", $var);