SWIG, Python, C++, and Coca-Cola

"Martin v. Löwis" martin at v.loewis.de
Sat Apr 7 04:44:00 EDT 2007


> Any clues as to what is happening here or what to do next?

Apparently, it tries to wrap the main() function. It should
not do that: main should not be callable from Python. Most
likely, you have a declaration of main somewhere so it thinks
it should wrap it. You should not have a declaration of main,
anyway, so you should be safely able to drop that.

Regards,
Martin



More information about the Python-list mailing list