Great!  The only catch is that for PDL versions before 2.007,
PDL_Indx doesn't exist so that case needs to be handled.

--Chris

On Sat, Nov 9, 2013 at 7:41 PM,  <[email protected]> wrote:
>
>
> -----Original Message----- From: Chris Marshall
>
>
>>> I haven't looked into this at all - I'll wait and see if Doug has a quick
>>> solution.
>
>
>> I took a look and the warnings could be fixed by modifying
>> the .pd file to use the right data type for those declarations
>> but it seemed that hacking just that in would be the wrong
>> thing to do.
>
>
> Well ... that fixes the problem for me. It results in no test failures at
> all !!
>
> Here's the actual patch I used:
>
> --- plplot.pd_orig      2013-11-10 11:27:16
> +++ plplot.pd   2013-11-10 11:18:36 +1100
> @@ -3813,7 +3813,7 @@
>   pdl *x_pdl, *y_pdl;
>   PLFLT *tx, *ty;
>   SV *x_sv, *y_sv;
> -  int dims, i;
> +  PDL_Indx dims, i;
>   I32 count, ax;
>   dSP;
>
> Cheers,
> Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to