From: <ai...@us...> - 2011-04-30 19:11:50
|
Revision: 11737 http://plplot.svn.sourceforge.net/plplot/?rev=11737&view=rev Author: airwin Date: 2011-04-30 19:11:44 +0000 (Sat, 30 Apr 2011) Log Message: ----------- Specify prototype for label_box_custom rather than using default prototype. Hide this function from external use by _not_ specifying PLDLLIMPEXP qualifier. Modified Paths: -------------- trunk/include/plplotP.h trunk/src/plbox.c Modified: trunk/include/plplotP.h =================================================================== --- trunk/include/plplotP.h 2011-04-30 18:37:28 UTC (rev 11736) +++ trunk/include/plplotP.h 2011-04-30 19:11:44 UTC (rev 11737) @@ -490,6 +490,11 @@ void pldtik( PLFLT vmin, PLFLT vmax, PLFLT *tick, PLINT *nsubt, PLBOOL ld ); +// Writes numeric labels on side(s) of box in custom locations + +void +label_box_custom( const char *xopt, PLINT n_xticks, const PLFLT *xticks, const char *yopt, PLINT n_yticks, const PLFLT *yticks ); + // Determine factor to convert date / time in seconds to more natural // units Modified: trunk/src/plbox.c =================================================================== --- trunk/src/plbox.c 2011-04-30 18:37:28 UTC (rev 11736) +++ trunk/src/plbox.c 2011-04-30 19:11:44 UTC (rev 11737) @@ -1515,7 +1515,7 @@ //-------------------------------------------------------------------------- void -label_box_custom( const char *xopt, PLINT n_xticks, PLFLT *xticks, const char *yopt, PLINT n_yticks, PLFLT *yticks ) +label_box_custom( const char *xopt, PLINT n_xticks, const PLFLT *xticks, const char *yopt, PLINT n_yticks, const PLFLT *yticks ) { static char string[STRING_LEN]; PLBOOL ldx, lfx, lix, llx, lmx, lnx, ltx, lox; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |