pidgin/plugins/perl/common/typemap

Thu, 30 Oct 2008 22:40:49 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Thu, 30 Oct 2008 22:40:49 +0000
changeset 24569
5dbd0617a27d
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
child 35312
add13288757e
permissions
-rw-r--r--

Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.

Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.

Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)

TYPEMAP

Pidgin::Account::Dialog::Type      T_IV
Pidgin::BuddyList                  T_PurpleObj
Pidgin::BuddyList::SortFunction    T_PurpleObj
Pidgin::Conversation               T_PurpleObj
Pidgin::Conversation::PlacementFunc       T_PurpleObj
Pidgin::Conversation::Window       T_PurpleObj
Pidgin::Xfer::Dialog               T_PurpleObj
Pidgin::IMHtml                     T_PurpleObj
Pidgin::IMHtml::Buttons            T_IV
Pidgin::IMHtml::Funcs              T_PurpleObj
Pidgin::IMHtml::Scalable           T_PurpleObj
Pidgin::IMHtml::Smiley             T_PurpleObj
Pidgin::IMHtml::Options            T_IV
Pidgin::IMHtmlToolbar              T_PurpleObj
Pidgin::MenuTray                   T_PurpleObj
Pidgin::StatusBox                  T_PurpleObj
Pidgin::UnseenState                T_IV

mercurial