tags:

views:

98

answers:

0

Hello, I've been playing around with the rather excellent ctypes library in Python recently. What i was wondering is, is it possible to create shared 'D' libraries and call them in the same way. I'm assuming i would compile the .so files using the -fPIC with dmd or gdc and call them the same way using the ctypes library.

Has anyone tried this ? I had a quick google and it looks as if shared libs on UNIX are partially supported.

Many thanks,

Al.