From: <to...@us...> - 2007-08-27 15:42:37
|
Revision: 8142 http://alleg.svn.sourceforge.net/alleg/?rev=8142&view=rev Author: torhu Date: 2007-08-25 12:29:36 -0700 (Sat, 25 Aug 2007) Log Message: ----------- Fixed the linkage problem for the extension function pointers. Modified Paths: -------------- bindings/dallegrogl/trunk/allegrogl/GLext/gl_ext_api.d bindings/dallegrogl/trunk/allegrogl/GLext/glx_ext_api.d bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_alias.d bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_api.d Modified: bindings/dallegrogl/trunk/allegrogl/GLext/gl_ext_api.d =================================================================== --- bindings/dallegrogl/trunk/allegrogl/GLext/gl_ext_api.d 2007-08-24 13:26:34 UTC (rev 8141) +++ bindings/dallegrogl/trunk/allegrogl/GLext/gl_ext_api.d 2007-08-25 19:29:36 UTC (rev 8142) @@ -9,7 +9,7 @@ version (Windows) export: -extern extern (C) { +extern extern (System) { /* <Core> */ @@ -1899,4 +1899,4 @@ } } -} // extern extern (C) +} // extern extern (System) Modified: bindings/dallegrogl/trunk/allegrogl/GLext/glx_ext_api.d =================================================================== --- bindings/dallegrogl/trunk/allegrogl/GLext/glx_ext_api.d 2007-08-24 13:26:34 UTC (rev 8141) +++ bindings/dallegrogl/trunk/allegrogl/GLext/glx_ext_api.d 2007-08-25 19:29:36 UTC (rev 8142) @@ -5,6 +5,9 @@ import allegrogl.GLext.glx_ext_defs; +extern extern (C): + + static if (AGLX_VERSION_1_3) { /* GLX 1.3 */ GLXFBConfig * (*__aglGetFBConfigs) (Display *, int, int *); @@ -173,4 +176,3 @@ static if (AGLX_MESA_agp_offset) { uint (*__aglGetAGPOffsetMESA) (/*const*/ void *pointer); } - Modified: bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_alias.d =================================================================== --- bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_alias.d 2007-08-24 13:26:34 UTC (rev 8141) +++ bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_alias.d 2007-08-25 19:29:36 UTC (rev 8142) @@ -3,9 +3,7 @@ import allegrogl.GLext.wgl_ext_defs; import allegrogl.GLext.wgl_ext_api; -//import allegrogl.GLext.d_extra_defs; // temporary fix import allegrogl.alleggl; -//import opengl; /* WGL_ARB_buffer_region */ Modified: bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_api.d =================================================================== --- bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_api.d 2007-08-24 13:26:34 UTC (rev 8141) +++ bindings/dallegrogl/trunk/allegrogl/GLext/wgl_ext_api.d 2007-08-25 19:29:36 UTC (rev 8142) @@ -15,7 +15,7 @@ private alias int INT32; private alias long INT64; -extern extern (C) { +extern extern (System) { /* WGL_ARB_buffer_region */ HANDLE (*__aglCreateBufferRegionARB) (HDC, int, UINT); @@ -130,4 +130,4 @@ BOOL (*__aglEndFrameTrackingI3D) (); BOOL (*__aglQueryFrameTrackingI3D) (DWORD *, DWORD *, float *); -} // extern extern (C) +} // extern extern (System) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |