summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-05-18 13:07:59 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-05-23 12:14:40 -0700
commit44268c4e45e521bdd017ab8148b60822aa3805a9 (patch)
tree54e8b2005265b5d4a6c1db63fc4f5a0fa70b72a6 /include
parentf772c46700a1b9d7ba594ebb461daf469bc92892 (diff)
include: Rename waffle_visibility.h -> waffle_portable.h
The intent is that this header contain all macro cruft for cross-platform portability. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/CMakeLists.txt2
-rw-r--r--include/waffle/waffle.h2
-rw-r--r--include/waffle/waffle_attrib_list.h2
-rw-r--r--include/waffle/waffle_config.h2
-rw-r--r--include/waffle/waffle_context.h2
-rw-r--r--include/waffle/waffle_display.h2
-rw-r--r--include/waffle/waffle_dl.h2
-rw-r--r--include/waffle/waffle_enum.h2
-rw-r--r--include/waffle/waffle_error.h2
-rw-r--r--include/waffle/waffle_gl_misc.h2
-rw-r--r--include/waffle/waffle_init.h2
-rw-r--r--include/waffle/waffle_portable.h (renamed from include/waffle/waffle_visibility.h)6
-rw-r--r--include/waffle/waffle_window.h2
13 files changed, 16 insertions, 14 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 384127a..26f9f22 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -8,6 +8,6 @@ install(FILES waffle/waffle.h
waffle/waffle_error.h
waffle/waffle_gl_misc.h
waffle/waffle_init.h
- waffle/waffle_visibility.h
+ waffle/waffle_portable.h
waffle/waffle_window.h
DESTINATION ${waffle_install_includedir}/waffle)
diff --git a/include/waffle/waffle.h b/include/waffle/waffle.h
index e0a0748..81dbee1 100644
--- a/include/waffle/waffle.h
+++ b/include/waffle/waffle.h
@@ -31,7 +31,7 @@
#include "waffle_error.h"
#include "waffle_gl_misc.h"
#include "waffle_init.h"
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#include "waffle_window.h"
/// @}
diff --git a/include/waffle/waffle_attrib_list.h b/include/waffle/waffle_attrib_list.h
index 14c5e69..ad69008 100644
--- a/include/waffle/waffle_attrib_list.h
+++ b/include/waffle/waffle_attrib_list.h
@@ -27,7 +27,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_config.h b/include/waffle/waffle_config.h
index f27baa3..dd8266a 100644
--- a/include/waffle/waffle_config.h
+++ b/include/waffle/waffle_config.h
@@ -23,7 +23,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_context.h b/include/waffle/waffle_context.h
index b91795b..e89a35e 100644
--- a/include/waffle/waffle_context.h
+++ b/include/waffle/waffle_context.h
@@ -22,7 +22,7 @@
#include <stdbool.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_display.h b/include/waffle/waffle_display.h
index 6a1f6b0..377c11f 100644
--- a/include/waffle/waffle_display.h
+++ b/include/waffle/waffle_display.h
@@ -23,7 +23,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_dl.h b/include/waffle/waffle_dl.h
index 74a08c8..c0b385e 100644
--- a/include/waffle/waffle_dl.h
+++ b/include/waffle/waffle_dl.h
@@ -32,7 +32,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_enum.h b/include/waffle/waffle_enum.h
index 7d92c8f..661a600 100644
--- a/include/waffle/waffle_enum.h
+++ b/include/waffle/waffle_enum.h
@@ -23,7 +23,7 @@
#include <stddef.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_error.h b/include/waffle/waffle_error.h
index 4dec1b9..472f6de 100644
--- a/include/waffle/waffle_error.h
+++ b/include/waffle/waffle_error.h
@@ -35,7 +35,7 @@
#include <stdint.h>
#include <stddef.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_gl_misc.h b/include/waffle/waffle_gl_misc.h
index 7ef1483..d7291b0 100644
--- a/include/waffle/waffle_gl_misc.h
+++ b/include/waffle/waffle_gl_misc.h
@@ -23,7 +23,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_init.h b/include/waffle/waffle_init.h
index 92badb7..d4608ba 100644
--- a/include/waffle/waffle_init.h
+++ b/include/waffle/waffle_init.h
@@ -23,7 +23,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/waffle/waffle_visibility.h b/include/waffle/waffle_portable.h
index 728e22e..bd3483b 100644
--- a/include/waffle/waffle_visibility.h
+++ b/include/waffle/waffle_portable.h
@@ -12,10 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-/// @defgroup waffle_visibility waffle_visibility
+/// @defgroup waffle_portable waffle_portable
/// @ingroup waffle_api
///
-/// @brief Macros for visibility of shared library symbols.
+/// @brief Cross-platform portability.
+///
+/// Visual Studio doesn't support C99. Ugh.
/// @{
#pragma once
diff --git a/include/waffle/waffle_window.h b/include/waffle/waffle_window.h
index d8f159a..887e6ae 100644
--- a/include/waffle/waffle_window.h
+++ b/include/waffle/waffle_window.h
@@ -21,7 +21,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "waffle_visibility.h"
+#include "waffle_portable.h"
#ifdef __cplusplus
extern "C" {