diff options
-rw-r--r-- | test cases/python3/3 cython/libdir/meson.build | 8 | ||||
-rw-r--r-- | test cases/python3/3 cython/libdir/storer.pyx | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/test cases/python3/3 cython/libdir/meson.build b/test cases/python3/3 cython/libdir/meson.build index e5cfc86..baa4c1d 100644 --- a/test cases/python3/3 cython/libdir/meson.build +++ b/test cases/python3/3 cython/libdir/meson.build @@ -1,9 +1,3 @@ -pxd_c = custom_target('cstorer_pxd', - output : 'cstorer_pxd.c', - input : 'cstorer.pxd', - command : [cython, '@INPUT@', '-o', '@OUTPUT@'], -) - pyx_c = custom_target('storer_pyx', output : 'storer_pyx.c', input : 'storer.pyx', @@ -11,7 +5,7 @@ pyx_c = custom_target('storer_pyx', ) slib = shared_library('storer', - 'storer.c', pxd_c, pyx_c, + 'storer.c', pyx_c, name_prefix : '', dependencies : py3_dep) diff --git a/test cases/python3/3 cython/libdir/storer.pyx b/test cases/python3/3 cython/libdir/storer.pyx index 6ad6830..ed551dc 100644 --- a/test cases/python3/3 cython/libdir/storer.pyx +++ b/test cases/python3/3 cython/libdir/storer.pyx @@ -12,5 +12,5 @@ cdef class Storer: cpdef int get_value(self): return cstorer.storer_get_value(self._c_storer) - cpdef void set_value(self, int value): + cpdef set_value(self, int value): cstorer.storer_set_value(self._c_storer, value) |