Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30406/include
Modified Files:
PythonHelp.h
Log Message:
added PythonStringFunction()
Index: PythonHelp.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/PythonHelp.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -u -2 -r1.16 -r1.17
--- PythonHelp.h 2 Jan 2004 22:53:02 -0000 1.16
+++ PythonHelp.h 18 Sep 2004 19:27:54 -0000 1.17
@@ -54,5 +54,4 @@
@return true on success
*/
-
bool PythonFunction(const char *func,
void *obj,
@@ -62,4 +61,16 @@
/**
+ Call a Python function taking string parameters and returning string value.
+
+ @param func the function name, possible module.name
+ @param arguments the string arguments, array may be empty
+ @param value the string receiving output, none if NULL
+ @return true if function could be called, false on error
+ */
+bool PythonStringFunction(const String& func,
+ const wxArrayString& arguments,
+ String *value);
+
+/**
Function to run a simple python script in the global namespace.
-------------------------------------------------------
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