Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28967/include
Modified Files:
InitPython.h
Log Message:
check that Python is not only configured but really initialized before calling Python
functions
Index: InitPython.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/InitPython.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- InitPython.h 14 Jan 2004 00:06:13 -0000 1.1
+++ InitPython.h 18 Sep 2004 22:06:52 -0000 1.2
@@ -27,4 +27,11 @@
/**
+ Check if Python interpreter has been initialized.
+
+ @return true if Python can be used
+ */
+extern bool IsPythonInitialized();
+
+/**
Shutdown Python interpreter and free memory
-------------------------------------------------------
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