From: <and...@us...> - 2011-09-13 12:06:36
|
Revision: 11919 http://plplot.svn.sourceforge.net/plplot/?rev=11919&view=rev Author: andrewross Date: 2011-09-13 12:06:24 +0000 (Tue, 13 Sep 2011) Log Message: ----------- Remove references in bindings to deprecated functions which have been removed from the core library so that compiling with -DPL_DEPRECATED=ON works again. Modified Paths: -------------- trunk/bindings/c++/plstream.cc trunk/bindings/ocaml/plplot_h trunk/bindings/octave/plplot_octave.h.in trunk/bindings/tcl/plapi.tpl Modified: trunk/bindings/c++/plstream.cc =================================================================== --- trunk/bindings/c++/plstream.cc 2011-09-12 12:09:52 UTC (rev 11918) +++ trunk/bindings/c++/plstream.cc 2011-09-13 12:06:24 UTC (rev 11919) @@ -328,18 +328,7 @@ plarc( x, y, a, b, angle1, angle2, rotate, fill ); } -#ifdef PL_DEPRECATED void -plstream::arrows( const PLFLT *u, const PLFLT *v, const PLFLT *x, const PLFLT *y, PLINT n, - PLFLT scale, PLFLT dx, PLFLT dy ) -{ - set_stream(); - - plarrows( u, v, x, y, n, scale, dx, dy ); -} -#endif // PL_DEPRECATED - -void plstream::vect( const PLFLT * const *u, const PLFLT * const *v, PLINT nx, PLINT ny, PLFLT scale, void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ), PLPointer pltr_data ) @@ -2580,17 +2569,6 @@ } #endif // PL_DEPRECATED -// Process options list using current options info. - -#ifdef PL_DEPRECATED -int plstream::ParseOpts( int *p_argc, const char **argv, PLINT mode ) -{ - set_stream(); - - return ::plParseOpts( p_argc, argv, mode ); -} -#endif // PL_DEPRECATED - // Print usage & syntax message. void plstream::OptUsage() Modified: trunk/bindings/ocaml/plplot_h =================================================================== --- trunk/bindings/ocaml/plplot_h 2011-09-12 12:09:52 UTC (rev 11918) +++ trunk/bindings/ocaml/plplot_h 2011-09-13 12:06:24 UTC (rev 11919) @@ -897,12 +897,4 @@ int plTranslateCursor(PLGraphicsIn *gin); - int -plParseOpts(int *p_argc, const char **argv, PLINT mode); - - void -plHLS_RGB(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b); - - void -plRGB_HLS(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s); */ Modified: trunk/bindings/octave/plplot_octave.h.in =================================================================== --- trunk/bindings/octave/plplot_octave.h.in 2011-09-12 12:09:52 UTC (rev 11918) +++ trunk/bindings/octave/plplot_octave.h.in 2011-09-13 12:06:24 UTC (rev 11919) @@ -1809,14 +1809,6 @@ c_plimagefr( aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr2, &grid2 ); } //%name plimagefr2 //%input a(nx,ny), xg(nx+1,ny+1), yg(nx+1,ny+1) -// Depreciated functions - retained for backwards compatibility - -// simple arrow plotter. - -void plarrows( PLFLT *u, PLFLT *v, PLFLT *x, PLFLT *y, PLINT n, - PLFLT scale, PLFLT dx, PLFLT dy ); //%name plarrows //%input u(n), v(n), x(n), y(n) - - #ifdef __cplusplus } #endif Modified: trunk/bindings/tcl/plapi.tpl =================================================================== --- trunk/bindings/tcl/plapi.tpl 2011-09-12 12:09:52 UTC (rev 11918) +++ trunk/bindings/tcl/plapi.tpl 2011-09-13 12:06:24 UTC (rev 11919) @@ -1201,11 +1201,6 @@ # int # plsetopt(char *opt, char *optarg); -# Process options list using current options info. - -# int -# plParseOpts(int *p_argc, char **argv, PLINT mode); - # Print usage & syntax message. # void This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |