ctypes for static libraries?

Posted by Begbie00 on Stack Overflow See other posts from Stack Overflow or by Begbie00
Published on 2010-06-06T09:03:23Z Indexed on 2010/06/06 9:12 UTC
Read the original article Hit count: 402

Filed under:
|
|

Hi all -

I'm attempting to write a Python wrapper for poker-eval, a c static library. All the documentation I can find on ctypes indicates that it works on shared/dynamic libraries. Is there a ctypes for static libraries?

I know about cython, but should I use that or recompile the poker-eval into a dynamic library so that I can use ctypes?

Thanks,

Mike

© Stack Overflow or respective owner

Related posts about python

Related posts about static-libraries