diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 22:42:48 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 22:42:48 +0000 |
commit | c91f003551542c2aab62dd8ef89a7894c7e50689 (patch) | |
tree | e49c45b21c3ebeb8d238e8eb96415c745f9427da /make/dynlink-windows.cfg | |
parent | 90bcb596e88898f807b39c9e7c85485ab8c006b6 (diff) |
Copied JOGL_2_SANDBOX r145 on to trunk; JOGL_2_SANDBOX branch is now closed
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@147 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make/dynlink-windows.cfg')
-rwxr-xr-x | make/dynlink-windows.cfg | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/make/dynlink-windows.cfg b/make/dynlink-windows.cfg new file mode 100755 index 0000000..fe69e1c --- /dev/null +++ b/make/dynlink-windows.cfg @@ -0,0 +1,30 @@ +Style AllStatic +JavaClass WindowsDynamicLinkerImpl +Package com.sun.gluegen.runtime +Implements WindowsDynamicLinkerImpl DynamicLinker +JavaOutputDir ../src/java +NativeOutputDir ../src/native/windows +HierarchicalNativeOutput false + +IncludeAs CustomJavaCode WindowsDynamicLinkerImpl dynlink-windows-CustomJavaCode.java +CustomCCode #include <windows.h> +CustomCCode /* This typedef is apparently needed for compilers before VC8, +CustomCCode and for the embedded ARM compilers we're using */ +CustomCCode #if (_MSC_VER < 1400) || defined(UNDER_CE) +CustomCCode typedef int intptr_t; +CustomCCode #endif +CustomCCode /* GetProcAddress doesn't exist in A/W variants under desktop Windows */ +CustomCCode #ifndef UNDER_CE +CustomCCode #define GetProcAddressA GetProcAddress +CustomCCode #endif + +ArgumentIsString LoadLibraryW 0 +ArgumentIsString GetProcAddressA 1 +Opaque long HANDLE +Opaque long PROC + +# Hide the platform-specific functions +AccessControl GetLastError PRIVATE +AccessControl LoadLibraryW PRIVATE +AccessControl GetProcAddressA PRIVATE +AccessControl FreeLibrary PRIVATE |