plugins/perl/common/typemap

Sat, 27 Sep 2003 19:17:21 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 27 Sep 2003 19:17:21 +0000
changeset 6982
12f08de92674
parent 6678
c633179afd00
child 10054
213a1112e633
permissions
-rw-r--r--

[gaim-migrate @ 7538]
This is Mr. Holland's Opus. And by Mr. Holland I mean Robot101. He
rewrote the coreish IM image support so that the binary data gets
ripped out in the prpl and put in an imgstore instead of just being
passed in the same huge as char string as the actual message. This
is good because it's prpl agnostic, or something. It also means
we don't have a silly length of "-1" with pretty much every send or
receive IM function.

It should be crash free, bug free, and memleak free, but additional
testing is always a good thing.

If you like good stuff then you'll love this patch. But don't take
my word for it--ba dun dunt!

TYPEMAP
gboolean                 T_BOOL
const char *             T_PV
Gaim::Account            T_GaimObj
Gaim::BuddyList::Group   T_GaimObj
Gaim::BuddyList::Buddy   T_GaimObj
Gaim::BuddyList::Chat    T_GaimObj
Gaim::Chat               T_GaimObj
Gaim::Connection         T_GaimObj
Gaim::Conversation       T_GaimObj
Gaim::Conversation::Chat T_GaimObj
Gaim::Conversation::IM   T_GaimObj
Gaim::ConvWindow         T_GaimObj
Gaim::DebugLevel         T_IV
Gaim::IM                 T_GaimObj
Gaim::Plugin             T_GaimObj

INPUT

T_GaimObj
	$var = gaim_perl_ref_object($arg)


OUTPUT

T_GaimObj
	$arg = gaim_perl_bless_object($var, \"$type\");

mercurial