summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-06-05 00:03:49 +0200
committerSven Gothel <[email protected]>2010-06-05 00:03:49 +0200
commit710d86d31cd278583ee3d74b36595f4148a72133 (patch)
treecd97303c60a03b9d8f921c97043e9d97cbffe1ac /src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java
parentc9c1ab75ea5c5ef7feae32f20bed840c2e8feaf4 (diff)
Minor additions to nio/Buffers, util/IntIntHashMap and os/NativeLibrary
Buffers add 'float[] getFloatArray(double[])' conversion, ready to replace all JOGL InternalBufferUtil's. NativeLibrary/DynamicLinker add global lookup method allowing Unices and OSX to lookup a symbol globally. However, this is not recommended, due to the lookup costs. Windows is not supported here. Primitive type HashMap's (IntIntHashMap): Added putAll()
Diffstat (limited to 'src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java')
-rwxr-xr-xsrc/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java b/src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java
index 2858f74..935f386 100755
--- a/src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java
+++ b/src/java/com/jogamp/common/os/WindowsDynamicLinkerImpl.java
@@ -65,6 +65,10 @@ public class WindowsDynamicLinkerImpl implements DynamicLinker {
return addr;
}
+ public long lookupSymbolGlobal(String symbolName) {
+ throw new RuntimeException("lookupSymbolGlobal: Not supported on Windows");
+ }
+
public void closeLibrary(long libraryHandle) {
FreeLibrary(libraryHandle);
}