Commit 6b05ae62 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix buffer pure mode regression.

parent 327311c0
......@@ -3011,6 +3011,7 @@ class DefNodeWrapper(FuncDefNode):
if (entry.name in ("__getbuffer__", "__releasebuffer__")
and entry.scope.is_c_class_scope):
mf = "CYTHON_UNUSED "
with_pymethdef = False
dc = self.return_type.declaration_code(entry.func_cname)
header = "static %s%s(%s)" % (mf, dc, arg_code)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment