aboutsummaryrefslogtreecommitdiffstats
path: root/make/dynlink-unix.cfg
blob: d762c8f2cfc3c058f62b9c24cf72d323663d625d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Style AllStatic
JavaClass UnixDynamicLinkerImpl
Package com.sun.gluegen.runtime
Implements UnixDynamicLinkerImpl DynamicLinker
JavaOutputDir ../src/java
NativeOutputDir ../src/native/unix
HierarchicalNativeOutput false

IncludeAs CustomJavaCode UnixDynamicLinkerImpl dynlink-unix-CustomJavaCode.java
CustomCCode #include <dlfcn.h>
CustomCCode #include <inttypes.h>

ArgumentIsString dlopen 0
ArgumentIsString dlsym  1
ReturnsString    dlerror
Opaque long void*

# Hide the platform-specific functions
AccessControl dlopen  PRIVATE
AccessControl dlsym   PRIVATE
AccessControl dlclose PRIVATE
AccessControl dlerror PRIVATE