Commit 957dee5c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dont prefix function pointers with '*'

parent dea77acc
...@@ -577,7 +577,7 @@ class Stanza(object): ...@@ -577,7 +577,7 @@ class Stanza(object):
fmt_cstruct( fmt_cstruct(
fo, fo,
'.' + proto.cname() + ' =', '.' + proto.cname() + ' =',
'*' + self.vcc.sympfx + proto.cname() + ',' self.vcc.sympfx + proto.cname() + ','
) )
def cstruct(self, unused_fo, unused_define): def cstruct(self, unused_fo, unused_define):
...@@ -703,7 +703,7 @@ class EventStanza(Stanza): ...@@ -703,7 +703,7 @@ class EventStanza(Stanza):
else: else:
fmt_cstruct(fo, fmt_cstruct(fo,
"._event =", "._event =",
'*' + self.vcc.sympfx + self.event_func + ',') self.vcc.sympfx + self.event_func + ',')
def json(self, jl): def json(self, jl):
jl.append(["$EVENT", "%s._event" % self.vcc.csn]) jl.append(["$EVENT", "%s._event" % self.vcc.csn])
......
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