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_AddObj ect 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
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_AddObj ect 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
Comment