Mercurial > pidgin.yaz
comparison libpurple/dbus-analyze-functions.py @ 25325:94fa7211eb98
propagate from branch 'im.pidgin.pidgin' (head 5be7104ff151004112ce3f9c34446335024d06d8)
to branch 'im.pidgin.pidgin.next.minor' (head 111d22afa901c48464e4da4d37d1cca3381ae162)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 14 Nov 2008 06:45:16 +0000 |
parents | 7493462e6959 |
children | a1c4ae9a2fcc |
comparison
equal
deleted
inserted
replaced
25324:9290eb3e07bf | 25325:94fa7211eb98 |
---|---|
370 | 370 |
371 # input parameters | 371 # input parameters |
372 | 372 |
373 def inputsimple(self, type, name, us): | 373 def inputsimple(self, type, name, us): |
374 if us: | 374 if us: |
375 self.cdecls.append("\tdbus_uint32_t %s;" % name) | |
376 self.cparams.append(("UINT32", name)) | |
377 self.addintype("u", name) | |
378 else: | |
375 self.cdecls.append("\tdbus_int32_t %s;" % name) | 379 self.cdecls.append("\tdbus_int32_t %s;" % name) |
376 self.cparams.append(("INT32", name)) | 380 self.cparams.append(("INT32", name)) |
377 self.addintype("i", name) | 381 self.addintype("i", name) |
378 else: | |
379 self.cdecls.append("\tdbus_uint32_t %s;" % name) | |
380 self.cparams.append(("UINT32", name)) | |
381 self.addintype("u", name) | |
382 | 382 |
383 def inputstring(self, type, name, us): | 383 def inputstring(self, type, name, us): |
384 if us: | 384 if us: |
385 self.cdecls.append("\tconst unsigned char *%s;" % name) | 385 self.cdecls.append("\tconst unsigned char *%s;" % name) |
386 else: | 386 else: |