plugins/perl/common/typemap

Wed, 07 Jul 2004 17:56:59 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Wed, 07 Jul 2004 17:56:59 +0000
changeset 9476
9e67e150526d
parent 6678
c633179afd00
child 10054
213a1112e633
permissions
-rw-r--r--

[gaim-migrate @ 10301]
This changes Oscar to use g_utf8_validate for UTF-8 validation, rather
than attempting a conversion from UTF-8 to UTF-8, as the latter
appears to be problematic with some iconvs. This causes Oscar to
print a conversion failure message (ala IRC) if we receive non-ASCII
marked as such -- I don't think this is a problem, as I believe the
ICQ funkiness is marked as ISO-8859-1, but if you get the message let
me know.

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