From: <sm...@us...> - 2009-08-19 08:16:33
|
Revision: 10294 http://plplot.svn.sourceforge.net/plplot/?rev=10294&view=rev Author: smekal Date: 2009-08-19 08:16:21 +0000 (Wed, 19 Aug 2009) Log Message: ----------- label_func declaration is wrong in my opinion, since it should return nothing. Should have no effect anyway, since label_func is not explicitely used in the SWIG files (only in the file generated by SWIG and here the declaration is correct). Modified Paths: -------------- trunk/bindings/python/plplotcmodule.i Modified: trunk/bindings/python/plplotcmodule.i =================================================================== --- trunk/bindings/python/plplotcmodule.i 2009-08-19 07:57:43 UTC (rev 10293) +++ trunk/bindings/python/plplotcmodule.i 2009-08-19 08:16:21 UTC (rev 10294) @@ -617,7 +617,7 @@ typedef void (*pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer); typedef void (*mapform_func)(PLINT, PLFLT *, PLFLT*); typedef PLFLT (*f2eval_func)(PLINT, PLINT, PLPointer); -typedef char * (*label_func)(PLINT, PLFLT, char *, PLINT, PLPointer); +typedef void (*label_func)(PLINT, PLFLT, char *, PLINT, PLPointer); %{ typedef PLINT (*defined_func)(PLFLT, PLFLT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |