comparison libpurple/dbus-analyze-functions.py @ 32612:c317ae5dcb6e

propagate from branch 'im.pidgin.pidgin' (head 52f4817b6a7b2db5cad41758c4911c0f20f77eb2) to branch 'im.pidgin.cpw.qulogic.gtk3' (head 09d4e9b50dd8919f186c2221e24b5f388bec7a88)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 05 Jun 2010 21:22:26 +0000
parents cb74b2877ea7
children 37c9f6020c35
comparison
equal deleted inserted replaced
32611:7e6ab5abf620 32612:c317ae5dcb6e
168 # known object types are transformed to integer handles 168 # known object types are transformed to integer handles
169 elif type[0].startswith("Purple") or type[0] == "xmlnode": 169 elif type[0].startswith("Purple") or type[0] == "xmlnode":
170 return self.inputpurplestructure(type, name) 170 return self.inputpurplestructure(type, name)
171 171
172 # special case for *_get_data functions, be careful here... 172 # special case for *_get_data functions, be careful here...
173 elif (type[0] == "size_t") and (name == "len"): 173 elif (type[0] == "size_t" or type[0] == "gsize") and name == "len":
174 return self.inputgetdata(type, name) 174 return self.inputgetdata(type, name)
175 175
176 # unknown pointers are always replaced with NULL 176 # unknown pointers are always replaced with NULL
177 else: 177 else:
178 return self.inputpointer(type, name) 178 return self.inputpointer(type, name)