Discussion:
[gdal-dev] gdal_priv.h and CPL_DLL
Andrew Bell
2021-05-05 13:23:17 UTC
Permalink
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?

Thanks,
--
Andrew Bell
***@gmail.com
Even Rouault
2021-05-05 13:45:32 UTC
Permalink
Post by Andrew Bell
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
Post by Andrew Bell
Thanks,
--
Andrew Bell
_______________________________________________
gdal-dev mailing list
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
Loading...