mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
6d2d9bb175
commit
6288378e7a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user