From: <and...@us...> - 2012-01-16 12:27:46
|
Revision: 12132 http://plplot.svn.sourceforge.net/plplot/?rev=12132&view=rev Author: andrewross Date: 2012-01-16 12:27:40 +0000 (Mon, 16 Jan 2012) Log Message: ----------- Update plstransform in D bindings consistent with other functions (old version worked on some versions of gdc, but created warnings on newer versions). Modified Paths: -------------- trunk/bindings/d/plplot.d Modified: trunk/bindings/d/plplot.d =================================================================== --- trunk/bindings/d/plplot.d 2012-01-16 11:35:11 UTC (rev 12131) +++ trunk/bindings/d/plplot.d 2012-01-16 12:27:40 UTC (rev 12132) @@ -12,6 +12,7 @@ alias void function( PLINT, PLFLT*, PLFLT* ) fill_func; alias void function( PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer ) pltr_func; alias void function( PLINT, PLFLT*, PLFLT* ) mapform_func; +alias void function( PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer ) ct_func; } // D definition of PLcGrid and PLcGrid2 @@ -2082,7 +2083,7 @@ void c_plstart( char *devname, PLINT nx, PLINT ny ); // Set the coordinate transform -void c_plstransform( void ( *coordinate_transform )( PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer ), PLPointer coordinate_transform_data ); +void c_plstransform( ct_func coordinate_transform = null , PLPointer coordinate_transform_data = null); // Add a point to a stripchart. void c_plstripa( PLINT id, PLINT pen, PLFLT x, PLFLT y ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |