Jerry, 

This argument is passed in by the user (in C) to say how long the 
label string (char *label) is to prevent overruns. The output
string must be pre-allocated by the user.

Andrew

On Wed, Sep 02, 2009 at 01:06:16AM -0700, Jerry wrote:
> In example x19c.c, the callback geolocation_labeler for plslabelfunc  
> has an argument named length which is used only in a call to snprintf.  
> The purpose appears to be to be an input to fix the length of the  
> string formed by snprintf. I can't find where this argument receives a  
> value. Trying to trace the calling chain through the code seems to run  
> in to a dead end pretty quickly. Alternately, how many elements is  
> allocated to the output string, label?
> 
> Jerry
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to