sagarchalise commented on this pull request.
> +class DoxyDefine(DoxyElement):
+ @staticmethod
+ def from_memberdef(xml):
+ name = xml.find("name").text
+ v = xml.find("initializer")
+ if (v is not None):
+ proc = DoxygenProcess()
+ text = proc.process_element(v)
+ params = ",".join(p.text for p in xml.xpath(".//param/defname"))
+ if (params != ""):
+ params = "(%s)" % params
+ d = "#define %s%s %s" % (name, params, text)
+ else:
+ d = "#define %s" % name
+
+ e = DoxyEnum(name, d)
I was the one with the idea of providing this in GI. Basically, it is provided
in plugin documentation and I thought it would be consistent to provide it with
geany gi. Also, I use it in a project and you are correct that I can easily
include it as well as customize it.
https://github.com/sagarchalise/geany-pyjedi/blob/peasy/peasyjedi.py
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1796#discussion_r174001069