From: <and...@us...> - 2004-03-03 17:53:58
|
Update of /cvsroot/plplot/plplot/bindings/c++ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4211/bindings/c++ Modified Files: plstream.cc Log Message: Add check that the std namespace is available in C++ code. Remove last references to malloc / free in favour of new / delete and of fopen etc in favour of ifstream. Index: plstream.cc =================================================================== RCS file: /cvsroot/plplot/plplot/bindings/c++/plstream.cc,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- plstream.cc 24 Feb 2004 10:06:04 -0000 1.24 +++ plstream.cc 3 Mar 2004 17:41:16 -0000 1.25 @@ -31,7 +31,9 @@ #include <iostream> +#ifdef USE_NAMESPACE using namespace std; +#endif PLFLT Contourable_Data_evaluator( PLINT i, PLINT j, PLPointer p ) { |