I have submitted a new Ada example file, xt12a.adb and have made
changes to x12a.adb according to the discussion several days ago
about problems with emulating sprintf. I also made changes in
x12a.adb so that it uses data structures from the thick binding
rather than the thin binding. (See
I'll look into this but probably won't get time until the weekend.
The transformation to string is easy.
Jerry
On May 24, 2007, at 4:48 PM, Alan W. Irwin wrote:
> Jerry, are you aware of the normal way to do this in Ada? N.B.
> this has
> nothing to do with API questions or our Ada interfa
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
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" );
>
>
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