[Pyrex] Creating a DLL with Pyrex.

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Nov 9 04:39:21 CET 2004


Blake Winton wrote:
> The other thing I was wondering about was naming.  Since I'm including
> both the C++ library and the C wrapper header files in my C++ wrapper,
> do I have to give the functions different names, i.e.
> SyncRegisterConduit and CSyncRegisterConduit?

You might get away with giving them the same name if
the C and C++ versions have different signatures, since
the C++ names will get mangled. But it's probably safer
and less confusing to give them different names.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list