From: Magnus Jacobsson Date: Sun, 2 Jan 2022 16:26:52 +0000 (+0100) Subject: edgepaint: [nfc] rename EXTERN macro to LAB_GAMUT_API in lab_gamut.h X-Git-Tag: 3.0.0~81^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4deeb4ec6cce66f423c950031d1bec89b32d7f09;p=graphviz edgepaint: [nfc] rename EXTERN macro to LAB_GAMUT_API in lab_gamut.h --- diff --git a/lib/edgepaint/lab_gamut.h b/lib/edgepaint/lab_gamut.h index 5a6dddb03..90d7eff60 100644 --- a/lib/edgepaint/lab_gamut.h +++ b/lib/edgepaint/lab_gamut.h @@ -16,12 +16,12 @@ extern "C" { #ifdef GVDLL #ifdef LAB_GAMUT_EXPORTS -#define EXTERN __declspec(dllexport) +#define LAB_GAMUT_API __declspec(dllexport) #else -#define EXTERN __declspec(dllimport) +#define LAB_GAMUT_API __declspec(dllimport) #endif #else -#define EXTERN /* nothing */ +#define LAB_GAMUT_API /* nothing */ #endif /** lookup table for the visible spectrum of the CIELAB color space @@ -34,10 +34,10 @@ extern "C" { * More information about CIELAB: * https://en.wikipedia.org/wiki/CIELAB_color_space */ -EXTERN extern const signed char lab_gamut_data[]; -EXTERN extern int lab_gamut_data_size; +LAB_GAMUT_API extern const signed char lab_gamut_data[]; +LAB_GAMUT_API extern int lab_gamut_data_size; -#undef EXTERN +#undef LAB_GAMUT_API #ifdef __cplusplus }