extending python

From: Ajay (abra9823_at_mail.usyd.edu.au)
Date: 09/29/04


Date: Wed, 29 Sep 2004 16:03:00 +1000
To: python-list@python.org

hi!

does the init<modulename> function has to have a PyMODINIT_FUNC return
type.
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
it.

any ideas?

thanks

cheers

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