One more mod for support of C++ classes.

This commit is contained in:
Jack Jansen 2006-02-10 22:15:09 +00:00
parent 82bca63c2b
commit c49250264d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class FixedInputOutputBufferType(InputOnlyType):
def getArgDeclarations(self, name, reference=False, constmode=False, outmode=False):
if reference:
raise RuntimeError, "Cannot pass buffer types by reference"
return (self.getBufferDeclarations(name, constmode) +
return (self.getBufferDeclarations(name, constmode, outmode) +
self.getSizeDeclarations(name, outmode))
def getBufferDeclarations(self, name, constmode=False, outmode=False):