[gdal-dev] gdal_priv.h and CPL_DLL

Even Rouault even.rouault at spatialys.com
Wed May 5 06:45:32 PDT 2021

Le 05/05/2021 à 15:23, Andrew Bell a écrit :
> Hi,
> I don't understand function declarations in gdal_priv.h being marked 
> CPL_DLL. I would think that if the functions are exposed, they 
> wouldn't be exposed from the GDAL shared library. Is this a mistake? 
> Is this for testing?
Mostly because they are needed by drivers built as plugins. Anyway, the 
_priv.h is somewhat misleading, as they C++ classes are also exported to 
be usable by C++ users
> Thanks,
> -- 
> Andrew Bell
> andrew.bell.ia at gmail.com <mailto:andrew.bell.ia at gmail.com>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210505/0ded3b20/attachment.html>

More information about the gdal-dev mailing list