mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
One more mod for support of C++ classes.
This commit is contained in:
parent
82bca63c2b
commit
c49250264d
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue