How to use a shared library created in cython?

Ferhat Kurtulmuş aferust at gmail.com
Mon Apr 12 17:15:00 UTC 2021


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 
correcting function signatures throughout the code. And extern 
(c) int test() is irrelevant here because you are loading it via 
a different mechanism.


More information about the Digitalmars-d-learn mailing list