Commit 25c5715a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Forward declare the vmod object struct

parent 66b32cbe
......@@ -323,6 +323,7 @@ class obj(object):
def c_typedefs(self, modnam):
l = list()
l.append("/* Object " + self.nam + " */")
l.append(self.st + ";")
l.append(self.init_fini.c_typedef(modnam) + "")
for m in self.methods:
l.append(m.c_typedef(modnam) + "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment