Update of /cvsroot/boost/boost/boost/python
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16027/boost/python
Modified Files:
exec.hpp
Log Message:
Add new eval() function.
Index: exec.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/python/exec.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- exec.hpp 27 Oct 2006 21:17:25 -0000 1.2
+++ exec.hpp 2 May 2007 13:11:20 -0000 1.3
@@ -13,6 +13,13 @@
namespace python
{
+// Evaluate python expression from str.
+// global and local are the global and local scopes respectively,
+// used during evaluation.
+object
+BOOST_PYTHON_DECL
+eval(str string, object global = object(), object local = object());
+
// Execute python source code from str.
// global and local are the global and local scopes respectively,
// used during execution.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs