static inline and jextract
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Sep 6 10:11:44 UTC 2022
On 05/09/2022 16:32, Manuel Bleichenbacher wrote:
> extern "C" const GUID __declspec(selectany) GUID_DEVINTERFACE_USB_DEVICE
> = { 0xA5DCBF10L, 0x6530, 0x11D2, { 0x90, 0x1F, 0x00, 0xC0,
> 0x4F, 0xB9, 0x51, 0xED } };
>
I guess the problem here is the lack of "dllexport", right?
But, while dllexport is common, some libraries can still export symbols
using a .def file [1].
So, I'm not sure this belongs in the same category as "static inline",
as it is not possible, just by looking at the header, to understand
whether the symbol will be present or not?
[1] -
https://docs.microsoft.com/en-us/cpp/build/exporting-from-a-dll-using-def-files?view=msvc-170
More information about the jextract-dev
mailing list