fix warning on unnecessary double load of openpnp-capture library
Some checks failed
Build OpenPnP Capture Java Distribution / build (8, ubuntu-latest) (push) Has been cancelled
Some checks failed
Build OpenPnP Capture Java Distribution / build (8, ubuntu-latest) (push) Has been cancelled
This commit is contained in:
parent
52374b9730
commit
e630d31284
@ -15,7 +15,7 @@ import java.nio.IntBuffer;
|
||||
*/
|
||||
public interface OpenpnpCaptureLibrary extends Library {
|
||||
public static final String JNA_LIBRARY_NAME = "openpnp-capture";
|
||||
public static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(OpenpnpCaptureLibrary.JNA_LIBRARY_NAME);
|
||||
//public static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(OpenpnpCaptureLibrary.JNA_LIBRARY_NAME);
|
||||
//public static final OpenpnpCaptureLibrary INSTANCE = (OpenpnpCaptureLibrary) Native.loadLibrary(OpenpnpCaptureLibrary.JNA_LIBRARY_NAME, OpenpnpCaptureLibrary.class);
|
||||
public static final OpenpnpCaptureLibrary INSTANCE = Native.load(OpenpnpCaptureLibrary.JNA_LIBRARY_NAME, OpenpnpCaptureLibrary.class);
|
||||
/** <i>native declaration : /Users/romanvg/dev/openpnp-capture/include/openpnp-capture.h</i> */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user