Skip to content

Commit

Permalink
One more mod for support of C++ classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjansen committed Feb 10, 2006
1 parent 82bca63 commit c492502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/bgen/bgen/bgenBuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, size, datatype = 'char', sizetype = 'int', sizeformat = None)
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):
Expand Down

0 comments on commit c492502

Please sign in to comment.