File: dynlink-macosx.cfg

package info (click to toggle)
libjogl-java 1.1.1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: lenny
  • size: 9,916 kB
  • ctags: 24,946
  • sloc: java: 87,017; ansic: 12,156; xml: 1,625; cpp: 302; objc: 91; sh: 35; makefile: 21
file content (25 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (3)
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 MacOSXDynamicLinkerImpl
Package com.sun.gluegen.runtime
Implements MacOSXDynamicLinkerImpl DynamicLinker
JavaOutputDir ../src/java
NativeOutputDir ../src/native/macosx
HierarchicalNativeOutput false

# Note that we can use the same CustomJavaCode as the unix
# implementation, but some of the constants (e.g. RTLD_GLOBAL) resolve
# to different values
IncludeAs CustomJavaCode MacOSXDynamicLinkerImpl dynlink-unix-CustomJavaCode.java
CustomCCode #include <dlfcn.h>
CustomCCode #include </usr/include/machine/types.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