In plplot-5.7.3/examples/ada/x12a.adb, the sprintf function is declared
and imported as follows:
procedure Sprintf( buffer : out char_array; format : in char_array;
variable: in PLFLT );
pragma Import(C, Sprintf, "sprintf" );
This is incorrect because sprintf's declaration is sprintf
On 2007-05-24 15:25-0600 Orion Poplawski wrote:
> In plplot-5.7.3/examples/ada/x12a.adb, the sprintf function is declared
> and imported as follows:
>
> procedure Sprintf( buffer : out char_array; format : in char_array;
> variable: in PLFLT );
> pragma Import(C, Sprintf, "sprintf" );
>
>
Alan W. Irwin writes:
> To answer Orion's last comment first, I looked in src/*.c for "..." and there
> doesn't seem to be any libplplot routines with a variable number of
> arguments so I don't think that is going to be an issue.
The only one I know of is in include/pldebug.h and as such is ju