Move the last bits of code out of the top source dir.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 Apr 2012 15:07:25 +0000 (16:07 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 Apr 2012 15:07:25 +0000 (16:07 +0100)
dispatch/compat.h [moved from compat.h with 64% similarity]
dispatch/d3d9imports.hpp [moved from d3d9imports.hpp with 100% similarity]
dispatch/eglimports.hpp [moved from eglimports.hpp with 100% similarity]
dispatch/glimports.hpp [moved from glimports.hpp with 100% similarity]
helpers/glsize.hpp [moved from glsize.hpp with 100% similarity]
retrace/CMakeLists.txt
wrappers/CMakeLists.txt

similarity index 64%
rename from compat.h
rename to dispatch/compat.h
index f7d95a1..53746bd 100644 (file)
--- a/compat.h
 
 #ifdef __MINGW32__
 
-#define __in /**/
-#define __out /**/
-#define __inout /**/
-#define __inout_opt /**/
-#define __in_opt /**/
-#define __out_opt /**/
-#define __in_bcount(x) /**/
-#define __out_bcount(x) /**/
-#define __in_bcount_opt(x) /**/
-#define __out_bcount_opt(x) /**/
-#define __in_range(x,y) /**/
-#define __in_ecount(x) /**/
-#define __out_ecount(x) /**/
-#define __in_ecount_opt(x) /**/
-#define __out_ecount_opt(x) /**/
-#define __field_bcount(x) /**/
-#define __field_ecount(x) /**/
-#define __field_ecount_full(x) /**/
+#define __deref_out
+#define __deref_out_bcount(x)
+#define __deref_out_opt
+#define __ecount(x)
+#define __field_bcount(x)
+#define __field_ecount(x)
+#define __field_ecount_full(x)
+#define __field_ecount_opt(x)
+#define __in
+#define __in_bcount(x)
+#define __in_bcount_opt(x)
+#define __in_ecount(x)
+#define __in_ecount_opt(x)
+#define __in_opt
+#define __in_range(x,y)
+#define __in_z
+#define __in_z_opt
 #define __inline static __inline__
-#define __deref_out /**/
-#define __deref_out_opt /**/
-#define __deref_out_bcount(x) /**/
-#define __maybenull /**/
-#define __in_z /**/
-#define __in_z_opt /**/
-#define __out_z /**/
-#define __out_ecount_z(x) /**/
-#define __nullterminated /**/
-#define __notnull /**/
-#define __field_ecount_opt(x) /**/
-#define __range(x,y) /**/
-#define __out_ecount_part_opt(x,y) /**/
+#define __inout
+#define __inout_opt
+#define __maybenull
+#define __notnull
+#define __nullterminated
+#define __out
+#define __out_bcount(x)
+#define __out_bcount_full_opt(x)
+#define __out_bcount_opt(x)
+#define __out_ecount(x)
+#define __out_ecount_opt(x)
+#define __out_ecount_part_opt(x,y)
+#define __out_ecount_part_z_opt(x,y)
+#define __out_ecount_z(x)
+#define __out_opt
+#define __out_z
+#define __range(x,y)
+#define __success(x)
 
 #ifndef DECLSPEC_DEPRECATED
-#define DECLSPEC_DEPRECATED /**/
+#define DECLSPEC_DEPRECATED
 #endif
 
 #ifndef DECLSPEC_NOVTABLE
-#define DECLSPEC_NOVTABLE /**/
+#define DECLSPEC_NOVTABLE
 #endif
 
 #ifndef __MINGW64_VERSION_MAJOR
similarity index 100%
rename from d3d9imports.hpp
rename to dispatch/d3d9imports.hpp
similarity index 100%
rename from eglimports.hpp
rename to dispatch/eglimports.hpp
similarity index 100%
rename from glimports.hpp
rename to dispatch/glimports.hpp
similarity index 100%
rename from glsize.hpp
rename to helpers/glsize.hpp
index 644fe98..5afe83a 100644 (file)
@@ -3,7 +3,9 @@
 
 include_directories (
     ${CMAKE_CURRENT_SOURCE_DIR}
+    ${CMAKE_SOURCE_DIR}/helpers
     ${CMAKE_BINARY_DIR}/dispatch
+    ${CMAKE_SOURCE_DIR}/dispatch
 )
 
 add_definitions (-DRETRACE)
index 1fb87e3..a21c4e1 100644 (file)
@@ -4,7 +4,9 @@
 
 include_directories (
     ${CMAKE_CURRENT_SOURCE_DIR}
+    ${CMAKE_SOURCE_DIR}/helpers
     ${CMAKE_BINARY_DIR}/dispatch
+    ${CMAKE_SOURCE_DIR}/dispatch
 )