view plugins/perl/common/typemap @ 12435:8f98014a4e7d

[gaim-migrate @ 14742] 1. Protecting the --enable-debug warning tests with an "if gcc" check. 2. Adding a number of warning flags to --enable-debug. All cases of the added warnings have been fixed, except: a. The pointer-arith warnings. I think someone smarter than me should decide whether we need to fix those (and how) or if that should be disabled. That said, I think all the errors left (after you consider the exception listed as "b" below) are in libzephyr. b. Those in src/protocols/sametime/meanwhile at siege's request. Don't worry about these for now. 3. Noting a few warnings we could enable, and the cases we'd have to deal with. Thoughts on these warnings? 4. I added support for FORTIFY_SOURCE. If your compiler has support for this feature, --enable-debug will set _FORTIFY_SOURCE=2. I'm doing this in --enable-debug for the warnings you get. I wouldn't mind having it on by default for the runtime protections as well. Thoughts? committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 09 Dec 2005 05:32:59 +0000
parents 6fd82071a7b8
children 59ce7a35a22b
line wrap: on
line source

TYPEMAP
guint					T_IV
gint					T_IV
const gint *				T_PTR
const guint *				T_PTR
const guint8 *				T_PTR
guint8					T_IV
guint8 *				T_PTR
time_t                 			T_IV
gboolean               		  	T_BOOL
gpointer				T_GaimObj
gconstpointer				T_PTR
const gchar *				T_PV
const char *           			T_PV
const char **				T_PTR
char **					T_PTR
gchar					T_IV
gchar *					T_PV
guchar					T_IV
guchar *				T_PTR
guchar **				T_PTR
const guchar *				T_PV
char *					T_PV
int *					T_PTR
size_t *				T_PTR
Gaim::GTK::Widget *			T_PTR
GCallback				T_PTR
va_list					T_PTR
GString *					T_PTR
GData *					T_PTR
GData **					T_PTR
const unsigned char *			T_PTR
const struct tm *			T_PTR
xmlnode *				T_PTR
const xmlnode *				T_PTR
gssize					T_IV
const void *				T_PTR

Gaim::Account           		T_GaimObj
Gaim::Account::Option   		T_GaimObj
Gaim::Account::UiOps			T_GaimObj
Gaim::Account::UserSplit		T_GaimObj


Gaim::BlistNodeFlags			T_IV
Gaim::Buddy::Icon 			T_GaimObj
Gaim::Buddy::Icon::Spec			T_GaimObj
Gaim::BuddyList		   		T_GaimObj
Gaim::BuddyList::Group   		T_GaimObj
Gaim::BuddyList::Buddy   		T_GaimObj
Gaim::BuddyList::Chat   		T_GaimObj
Gaim::BuddyList::Contact   		T_GaimObj
Gaim::BuddyList::Node 			T_GaimObj
Gaim::BuddyList::Node::Action		T_GaimObj
Gaim::BuddyList::UiOps			T_GaimObj


Gaim::Cipher				T_GaimObj
Gaim::Cipher::Ops			T_GaimObj
Gaim::Cipher::Context			T_GaimObj
Gaim::CipherCaps			T_IV
Gaim::CmdId  			         T_IV
Gaim::Connection        		T_GaimObj
Gaim::Connection::UiOps			T_GaimObj
Gaim::ConvWindow::UiOps	 		T_GaimObj
Gaim::Conversation::UiOps		T_GaimObj
Gaim::Conversation      		T_GaimObj
Gaim::Conversation::Chat 		T_GaimObj
Gaim::Conversation::IM   		T_GaimObj
Gaim::ConvWindow         		T_GaimObj
Gaim::Conversation::ChatBuddy		T_GaimObj
Gaim::ConvImFlags               T_IV
Gaim::ConvChatFlags             T_IV


Gaim::Desktop::Item             	T_GaimObj
Gaim::DesktopItemType           	T_IV


Gaim::GTK::BuddyList			T_GaimObj
Gaim::GDK::Pixbuf			T_GaimObj
Gaim::GTK::Conversation			T_GaimObj
Gaim::GTK::Widget			T_GaimObj
Gaim::GTK::FileSelection		T_GaimObj
Gaim::GTK::SelectionData		T_GaimObj
Gaim::GTK::TextView			T_GaimObj


Gaim::IconScaleRules            T_IV
Gaim::IM                 		T_GaimObj


Gaim::Log				T_GaimObj
Gaim::Log::Logger               	T_GaimObj
Gaim::Log::CommonLoggerData 	        T_GaimObj
Gaim::Log::Set         			T_GaimObj
Gaim::LogType           		T_IV
Gaim::Log::ReadFlags              	T_GaimObj


Gaim::NotifyCloseCallback		T_PTR
Gaim::NotifyType                	T_IV
Gaim::NotifyMsgType            	 	T_IV
Gaim::NotifySearchButtonType		T_IV
Gaim::NotifySearchResults		T_GaimObj
Gaim::NotifySearchColumn		T_GaimObj
Gaim::NotifySearchButton		T_GaimObj
Gaim::NotifyUiOps			T_GaimObj

Gaim::Plugin             		T_GaimObj
Gaim::Plugin::Info              	T_GaimObj
Gaim::PluginUiInfo  	        	T_GaimObj
Gaim::Plugin::Loader::Info              T_GaimObj
Gaim::Plugin::Action            	T_GaimObj
Gaim::Plugin::Protocol::Info            T_GaimObj
Gaim::PluginType                	T_IV
Gaim::PrefType   			T_IV
Gaim::PluginPref::Frame               	T_GaimObj
Gaim::PluginPref     		         T_GaimObj
Gaim::PluginPrefType            	T_IV
Gaim::Pounce            		T_GaimObj
Gaim::PounceEvent               	T_IV
Gaim::Presence				T_GaimObj
Gaim::PrivacyType               	T_IV
Gaim::Privacy::UiOps			T_GaimObj
Gaim::ProtocolOptions           T_IV
Gaim::ProxyType         T_IV
Gaim::ProxyInfo				T_GaimObj


Gaim::RequestType               T_IV
Gaim::RequestFieldType          T_IV
Gaim::Request::Fields		T_GaimObj
Gaim::Request::Field           T_GaimObj
Gaim::Request::Field::Group           T_GaimObj
Gaim::Request::UiOps           T_GaimObj

Gaim::Roomlist          	T_GaimObj
Gaim::Roomlist::Room            T_GaimObj
Gaim::Roomlist::Field           T_GaimObj
Gaim::Roomlist::UiOps         T_GaimObj
Gaim::RoomlistRoomType          T_IV
Gaim::RoomlistFieldType         T_IV

Gaim::SavedStatus             T_GaimObj
Gaim::SavedStatusSub                T_GaimObj
Gaim::SoundEventID              T_IV
Gaim::Sound::UiOps		T_GaimObj

Gaim::Ssl::Connection           T_GaimObj
Gaim::Input::Condition          T_GaimObj
Gaim::SslErrorType              T_IV
Gaim::Ssl::Ops			T_GaimObj

Gaim::Status				T_GaimObj
Gaim::StatusType			T_GaimObj
const Gaim::StatusType			T_GaimObj
Gaim::StatusAttr  		         T_GaimObj
Gaim::Presence 			         T_GaimObj
Gaim::PresenceContext           	T_IV
Gaim::StatusPrimitive           	T_IV


Gaim::StoredImage 		        T_GaimObj
Gaim::Stringref				T_GaimObj
Gaim::Value				T_GaimObj

Gaim::Xfer              		T_GaimObj
Gaim::XferType          		T_IV
Gaim::XferStatusType            	T_IV
Gaim::XferUiOps				T_IV

Gaim::XMLNode                                 T_GaimObj
XMLNode::Type             		T_IV








	/* enums */

	/* cipher.h */


	/* blist.h */



	/* debug.h */
Gaim::DebugLevel		         T_IV

	/* conversation.h */
Gaim::UnseenState			T_IV
Gaim::ConversationType 			T_IV
Gaim::ConvUpdateType 			T_IV
Gaim::TypingState 			T_IV
Gaim::MessageFlags 			T_IV
Gaim::ConvChatBuddyFlags 		T_IV

	/* connection.h */
Gaim::ConnectionFlags			T_IV
Gaim::ConnectionState			T_IV

	/* gtkutils.h */
Gaim::ButtonOrientation         T_IV
Gaim::ButtonStyle               T_IV
Gaim::BrowserPlace              T_IV



INPUT

T_GaimObj
	$var = gaim_perl_ref_object($arg)


OUTPUT

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