gobjectification: 98e04213: Patch from QuLogic to make the dbus file...
sadrul at pidgin.im
sadrul at pidgin.im
Fri May 2 20:10:46 EDT 2008
-----------------------------------------------------------------
Revision: 98e04213689606d731ff9c41d4bb7bba1ea5c264
Ancestor: 3f3eab1dc70b41800fbf6b983b74425038d269f4
Author: sadrul at pidgin.im
Date: 2008-05-03T00:06:00
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/98e04213689606d731ff9c41d4bb7bba1ea5c264
Modified files:
libpurple/dbus-analyze-functions.py
ChangeLog:
Patch from QuLogic to make the dbus file generator ignore '#if 0'-ed
stuff in the header files. This makes dbus foo compile. References #35.
-------------- next part --------------
============================================================
--- libpurple/dbus-analyze-functions.py 3ebafc9c1756e3ac61d1f587a1eaee4c4774c9f9
+++ libpurple/dbus-analyze-functions.py e49c11f3b1c8d5141ad290654481651818e09a39
@@ -494,6 +494,9 @@ class BindingSet:
if len(words) == 0: # empty line
continue
if line[0] == "#": # preprocessor directive
+ if words[0] == "#if" and words[1] == "0":
+ while line != "#endif":
+ line = self.inputiter.next().strip()
continue
if words[0] in ["typedef", "struct", "enum", "static"]:
continue
More information about the Commits
mailing list