Commit 4fd83ed2 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn Committed by Mark Florisson

Terrible hack, FIXME FIXME

parent 33db1ad9
...@@ -128,11 +128,11 @@ class CythonScope(ModuleScope): ...@@ -128,11 +128,11 @@ class CythonScope(ModuleScope):
# declare the __getbuffer__ & __releasebuffer__ functions # declare the __getbuffer__ & __releasebuffer__ functions
for name in ('__getbuffer__', '__releasebuffer__'): for idx, name in enumerate(('__getbuffer__', '__releasebuffer__')):
entry = arr_scope.declare_pyfunction(name, None) entry = arr_scope.declare_pyfunction(name, None)
# XXX: absolutely horrendous hack right here!!! # XXX: absolutely horrendous hack right here!!!
# To be fixed!!! # To be fixed!!!
entry.func_cname = '__pyx_pf_9__pyxutil_5array_' + name entry.func_cname = '__pyx_pf_9__pyxutil_5array_%d' % (idx + 1) + name
entry.utility_code_definition = cython_array_utility_code entry.utility_code_definition = cython_array_utility_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