Bug 918651 - part 4 - add keyword arguments to _makeForwardDeclForQClass; r=ehsan

We're going to need these later when we hand-roll our own forward declarations
for classes and structs.
This commit is contained in:
Nathan Froyd 2013-10-01 12:02:57 -04:00
parent 6d2d9bb175
commit 6288378e7a

View File

@ -239,8 +239,8 @@ def _shmemRevokeRights(shmemexpr):
def _lookupShmem(idexpr):
return ExprCall(ExprVar('LookupSharedMemory'), args=[ idexpr ])
def _makeForwardDeclForQClass(clsname, quals):
fd = ForwardDecl(clsname, cls=1)
def _makeForwardDeclForQClass(clsname, quals, cls=1, struct=0):
fd = ForwardDecl(clsname, cls=cls, struct=struct)
if 0 == len(quals):
return fd