Accessing c objects in python

smarter_than_you davesum99 at yahoo.com
Fri Aug 8 19:10:11 EDT 2003


what about ctypes
?

magik1300 at aol.com (Gary) wrote in message news:<d0bff928.0308070630.21fa1be4 at posting.google.com>...
> Hi-
> 
> I've been searching the web for a while and I've been unable to find a
> way to access c data objects in python without using SWIG.  I can do
> methods just fine but I can't access variables.  It seems like
> PyModule_AddObject should work but it segfaults my program.  There's a
> good chance I'm just using it wrong, or I should be using something
> else.  Could someone give me a simple, complete example pretty please?
>  Thanks!
> 
> Gary




More information about the Python-list mailing list