summaryrefslogtreecommitdiffstats
path: root/make/dynlink-windows.cfg
blob: 871326e6107dcc29614242aed3339714622c23a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 only needed for VC6 */
CustomCCode #if _MSC_VER <= 1200
CustomCCode typedef int intptr_t;
CustomCCode #endif

ArgumentIsString LoadLibraryA 0
ArgumentIsString GetProcAddress 1
Opaque long HANDLE
Opaque long PROC

# Hide the platform-specific functions
AccessControl GetLastError   PRIVATE
AccessControl LoadLibraryA   PRIVATE
AccessControl GetProcAddress PRIVATE
AccessControl FreeLibrary    PRIVATE