Re: How to use a shared library created in cython?
On Sunday, 11 April 2021 at 20:08:15 UTC, affonso elias ferreira junior wrote: Hi everyone, I'm trying to use a shared library created in Cython. example. [...] I am on my mobile phone, and cannot reproduce. But i see that this cast(int function()) should be cast(int function(int)). Try
How to use a shared library created in cython?
Hi everyone, I'm trying to use a shared library created in Cython. example. *file run_cython.pyx** cpdef int test(int x): cdef int y = 1 cdef int i for i in range(1, x+1): y *= i return y