diff options
author | Michael Bien <[email protected]> | 2010-04-24 03:10:40 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 03:10:40 +0200 |
commit | bec58034b631656d3ec436ea350fa1652a8f9195 (patch) | |
tree | e241b0b54a0ac174284de294eb5c6046a622a6b3 /src/com/jogamp/opencl/NativeLibLoader.java | |
parent | b0f4d671bcf799884a3d3f31fbfee47f7fc6e5cb (diff) |
renamed NativeLibLoader to JOCLJNILibLoader.
Diffstat (limited to 'src/com/jogamp/opencl/NativeLibLoader.java')
-rw-r--r-- | src/com/jogamp/opencl/NativeLibLoader.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/com/jogamp/opencl/NativeLibLoader.java b/src/com/jogamp/opencl/NativeLibLoader.java deleted file mode 100644 index 5cce1a36..00000000 --- a/src/com/jogamp/opencl/NativeLibLoader.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.jogamp.opencl; - -import java.security.PrivilegedAction; -import com.jogamp.common.jvm.JNILibLoaderBase; -import com.jogamp.common.os.NativeLibrary; - -import static java.security.AccessController.*; - -/** - * Responsible for JOCL lib loading. - * @author Michael Bien - */ -class NativeLibLoader extends JNILibLoaderBase { - - /** - * Loads the native binding and returns the OpenCL library for dynamic linking. - */ - static NativeLibrary loadJOCL() { - - return doPrivileged(new PrivilegedAction<NativeLibrary>() { - public NativeLibrary run() { - loadLibrary("jocl", null, true); - return NativeLibrary.open("OpenCL", NativeLibLoader.class.getClassLoader()); - } - }); - } -} |