Bug 745758 - pack ipdl-generated classes better; r=cjones

This commit is contained in:
Nathan Froyd 2012-04-16 13:30:07 -04:00
parent 2ba7f21890
commit 774269920f

View File

@ -3276,9 +3276,9 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
])
elif ptype.isManaged():
self.cls.addstmts([
StmtDecl(Decl(_actorIdType(), p.idVar().name)),
StmtDecl(Decl(p.managerInterfaceType(ptr=1),
p.managerVar().name))
p.managerVar().name)),
StmtDecl(Decl(_actorIdType(), p.idVar().name))
])
if p.decl.type.isToplevel():
self.cls.addstmts([