~ubuntu-branches/ubuntu/feisty/irssi/feisty-backports

« back to all changes in this revision

Viewing changes to src/perl/irc/typemap

  • Committer: Bazaar Package Importer
  • Author(s): David Pashley
  • Date: 2005-12-10 21:25:51 UTC
  • Revision ID: james.westby@ubuntu.com-20051210212551-5qwm108g7inyu2f2
Tags: upstream-0.8.10
ImportĀ upstreamĀ versionĀ 0.8.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TYPEMAP
 
2
Irssi::Irc::Server              T_IrssiObj
 
3
Irssi::Irc::Connect             T_IrssiObj
 
4
Irssi::Irc::Channel             T_IrssiObj
 
5
Irssi::Irc::Query               T_IrssiObj
 
6
Irssi::Irc::Nick                T_IrssiObj
 
7
 
 
8
Irssi::Irc::Ban                 T_PlainObj
 
9
Irssi::Irc::Dcc                 T_DccObj
 
10
Irssi::Irc::Dcc::Chat           T_DccObj
 
11
Irssi::Irc::Dcc::Get            T_DccObj
 
12
Irssi::Irc::Dcc::Send           T_DccObj
 
13
Irssi::Irc::Netsplit            T_PlainObj
 
14
Irssi::Irc::Netsplitserver      T_PlainObj
 
15
Irssi::Irc::Netsplitchannel     T_PlainObj
 
16
Irssi::Irc::Notifylist          T_PlainObj
 
17
 
 
18
INPUT
 
19
 
 
20
T_IrssiObj
 
21
        $var = irssi_ref_object($arg)
 
22
 
 
23
T_DccObj
 
24
        $var = irssi_ref_object($arg)
 
25
 
 
26
T_PlainObj
 
27
        $var = irssi_ref_object($arg)
 
28
 
 
29
OUTPUT
 
30
 
 
31
T_IrssiObj
 
32
        $arg = iobject_bless((SERVER_REC *)$var);
 
33
 
 
34
T_DccObj
 
35
        $arg = simple_iobject_bless((DCC_REC *)$var);
 
36
 
 
37
T_PlainObj
 
38
        $arg = plain_bless($var, \"$type\");
 
39