Ralf W. Grosse-Kunstleve wrote:
--- David Abrahams <dave@xxxxxxxxxxxxxxxxxxxx> wrote:
"Ralf W. Grosse-Kunstleve" <rwgk@xxxxxxxxx> writes:
Are the module names (e.g. _core in Bruno's examples) at global scope?
Thanks,
Ralf
They're not even C++ names! I don't understand what the problem
might be.
Ah, OK, I forgot that the BOOST_PYTHON_MODULE macro prepends "init", so "_core"
ends up as the function name init_core(). Please disregard my remarks.
Ralf
Just a little note: the leading underscore is a convention in Python, in
the case where you have both code in extension modules and in pure
Python. In the DLL directory of the Python distribution, you can see
lots of files that follow that convention. 8)
Regards,
Nicodemus.