Re: [gdal-dev] C API, pointers vs lists in functions prototypes

2023-12-24 Thread Even Rouault via gdal-dev
Francesco, I can't think of a drawback if you want to submit such a PR to use type[] style declaration of arrays Even Le 24/12/2023 à 18:40, Francesco P. Lovergine via gdal-dev a écrit : Hi, folks. I recently worked onto the current Perl binding for GDAL via modern FFI, and discovered that

[gdal-dev] C API, pointers vs lists in functions prototypes

2023-12-24 Thread Francesco P. Lovergine via gdal-dev
Hi, folks. I recently worked onto the current Perl binding for GDAL via modern FFI, and discovered that a series of functions can cause segfaults of the Perl interpreter due to the use of type* instead of type[] (sometimes type[6]) in function prototypes taken from the C header file. While th