From: David B. <ad...@us...> - 2006-04-13 21:21:30
|
Update of /cvsroot/octave/octave-forge/nonfree/gpc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24713/nonfree/gpc Modified Files: octave-gpc.h Log Message: Commit changes from JWE for octave_value/octave_base_value changes in 2.9.5+ Index: octave-gpc.h =================================================================== RCS file: /cvsroot/octave/octave-forge/nonfree/gpc/octave-gpc.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- octave-gpc.h 5 Jan 2004 21:20:01 -0000 1.3 +++ octave-gpc.h 13 Apr 2006 21:21:12 -0000 1.4 @@ -29,6 +29,10 @@ #include <gpcl/gpc.h> } +#ifndef OV_REP_TYPE +#define OV_REP_TYPE octave_value +#endif + void octave_gpc_free_polygon (gpc_polygon*); gpc_polygon* get_gpc_pt (octave_value); @@ -62,7 +66,7 @@ ~octave_gpc_polygon (void) { octave_gpc_free_polygon (polygon); } - octave_value* clone (void) { return new octave_gpc_polygon (*this); } + OV_REP_TYPE* clone (void) { return new octave_gpc_polygon (*this); } bool is_defined (void) const { return true; } |