extending python

Ajay abra9823 at mail.usyd.edu.au
Wed Sep 29 08:03:00 CEST 2004


does the init<modulename> function has to have a PyMODINIT_FUNC return
i am building PyOpenSSL for a pocket pc using embedded visual c++ and i am
doing so by putting together all the C files together for OpenSSL/crypto
and building crypto.pyd
now crypto.c has void initcrypto

Build works fine. But when i import it, i get an error saying dynamic load
module does not define an init function (initcrypto)
the same build using VC++ 6.0 works fine on the PC and i can even import

any ideas?



This message was sent using IMP, the Internet Messaging Program.

More information about the Python-list mailing list