]> git.cworth.org Git - apitrace/commitdiff
s/HINSTANCE/HMODULE/
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 20 Apr 2012 20:04:43 +0000 (21:04 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 20 Apr 2012 20:04:43 +0000 (21:04 +0100)
dispatch/glproc.py
dispatch/glproc_egl.cpp
dispatch/glproc_gl.cpp
retrace/dllretrace.py
wrappers/dlltrace.py

index 301e34c662d293d92ab05eb03e3d43ecb4892896..7065995ff08ea61eea5e55fe5161e15ceb4721c5 100644 (file)
@@ -494,7 +494,7 @@ class GlDispatcher(Dispatcher):
     def header(self):
         print '''
 #if defined(_WIN32)
-extern HINSTANCE _libGlHandle;
+extern HMODULE _libGlHandle;
 #else
 extern void * _libGlHandle;
 #endif
index 384eb857ccd67d1f5c46a6fa52cced3888f8bdad..5f93b14da016d4e2bc4772a08a4b4eb99f3336e4 100644 (file)
@@ -40,7 +40,7 @@
  * XXX: Not really used yet.
  */
 #if defined(_WIN32)
-HINSTANCE _libGlHandle = NULL;
+HMODULE _libGlHandle = NULL;
 #else
 void *_libGlHandle = NULL;
 #endif
index 7f604d20ddb43782ae38e5f4f8e40d497b90eb58..8e1216f1dc999c75f2cd16a751f4403b924868f6 100644 (file)
@@ -37,7 +37,7 @@
  * Handle to the true OpenGL library.
  */
 #if defined(_WIN32)
-HINSTANCE _libGlHandle = NULL;
+HMODULE _libGlHandle = NULL;
 #else
 void *_libGlHandle = NULL;
 #endif
index 6f26484c2f9b89394aafe7be8877d97921df30f8..db1a5863390ce206b704287d44481cd41016d40b 100644 (file)
@@ -32,7 +32,7 @@ class DllRetracer(Retracer):
 
     def retraceApi(self, api):
         print '''
-static HINSTANCE g_hDll = NULL;
+static HMODULE g_hDll = NULL;
 
 static PROC
 _getPublicProcAddress(LPCSTR lpProcName)
index 4f86686a47b97aa80a0b15a4dd028ab1e48748d5..7dc96910cf9ce038aa60507ee6aceafb1f139274 100644 (file)
@@ -37,7 +37,7 @@ class DllTracer(Tracer):
     
     def header(self, api):
         print '''
-static HINSTANCE g_hDll = NULL;
+static HMODULE g_hDll = NULL;
 
 static PROC
 _getPublicProcAddress(LPCSTR lpProcName)