Update of /cvsroot/mahogany/M/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25880/src/Python
Modified Files:
PythonHelp.cpp
Log Message:
use MP_PYTHONMODULE_TO_LOAD_DEFVAL instead of hardcoding Minit
Index: PythonHelp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/PythonHelp.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -b -u -2 -r1.35 -r1.36
--- PythonHelp.cpp 2 Jan 2004 22:53:02 -0000 1.35
+++ PythonHelp.cpp 18 Sep 2004 19:02:57 -0000 1.36
@@ -50,7 +50,4 @@
extern const MOption MP_USEPYTHON;
-// from InitPython.cpp
-extern PyObject *Python_MinitModule;
-
// ----------------------------------------------------------------------------
// M_PyObject: safe wrapper for PyObject which never forgets to Py_DECREF()
@@ -190,5 +187,5 @@
else // no explicit module, use the default one
{
- modname = _T("Minit");
+ modname = MP_PYTHONMODULE_TO_LOAD_DEFVAL;
}
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates