summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-19 13:07:57 -0500
committermidipix <writeonce@midipix.org>2017-11-19 13:12:38 -0500
commit3fbbdc93b472e7e47df0459c2b5d75e5e7eacd26 (patch)
tree0056d672f9fcd3065ebeddbe19458c267d8da985 /include
parent3af23aadb5210aa94661c958eb8a81f421cc5c6b (diff)
downloadw32lib-3fbbdc93b472e7e47df0459c2b5d75e5e7eacd26.tar.bz2
w32lib-3fbbdc93b472e7e47df0459c2b5d75e5e7eacd26.tar.xz
pre-alpha api: changed name space prefix from WLIB_ to W32LIB_.
Diffstat (limited to 'include')
-rw-r--r--include/w32lib/w32lib.h6
-rw-r--r--include/w32lib/w32lib_api.h32
2 files changed, 19 insertions, 19 deletions
diff --git a/include/w32lib/w32lib.h b/include/w32lib/w32lib.h
index 1b94f73..a94d39e 100644
--- a/include/w32lib/w32lib.h
+++ b/include/w32lib/w32lib.h
@@ -11,10 +11,10 @@ extern "C" {
#endif
/* pre-alpha */
-#ifndef WLIB_APP
-#ifndef WLIB_PRE_ALPHA
+#ifndef W32LIB_APP
+#ifndef W32LIB_PRE_ALPHA
#error libw32lib: pre-alpha: ABI is not final!
-#error to use the library, please pass -DWLIB_PRE_ALPHA to the compiler.
+#error to use the library, please pass -DW32LIB_PRE_ALPHA to the compiler.
#endif
#endif
diff --git a/include/w32lib/w32lib_api.h b/include/w32lib/w32lib_api.h
index ae3fd88..5b2c211 100644
--- a/include/w32lib/w32lib_api.h
+++ b/include/w32lib/w32lib_api.h
@@ -3,33 +3,33 @@
#include <limits.h>
-/* wlib_export */
+/* w32lib_export */
#if defined(__dllexport)
-#define wlib_export __dllexport
+#define w32lib_export __dllexport
#else
-#define wlib_export
+#define w32lib_export
#endif
-/* wlib_import */
+/* w32lib_import */
#if defined(__dllimport)
-#define wlib_import __dllimport
+#define w32lib_import __dllimport
#else
-#define wlib_import
+#define w32lib_import
#endif
-/* wlib_api */
-#ifndef WLIB_APP
-#if defined (WLIB_EXPORT)
-#define wlib_api wlib_export
-#elif defined (WLIB_IMPORT)
-#define wlib_api wlib_import
-#elif defined (WLIB_STATIC)
-#define wlib_api
+/* w32lib_api */
+#ifndef W32LIB_APP
+#if defined (W32LIB_EXPORT)
+#define w32lib_api w32lib_export
+#elif defined (W32LIB_IMPORT)
+#define w32lib_api w32lib_import
+#elif defined (W32LIB_STATIC)
+#define w32lib_api
#else
-#define wlib_api
+#define w32lib_api
#endif
#else
-#define wlib_api
+#define w32lib_api
#endif
#endif