]> granicus.if.org Git - graphviz/commitdiff
edgepaint: [nfc] rename EXTERN macro to LAB_GAMUT_API in lab_gamut.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 2 Jan 2022 16:26:52 +0000 (17:26 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 Jan 2022 13:05:21 +0000 (14:05 +0100)
lib/edgepaint/lab_gamut.h

index 5a6dddb0316b068c0625c0a658e004a82e17afc7..90d7eff6070d2627f662f3db247fb317c9b80ed3 100644 (file)
@@ -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
 }