- private constructor added (makes it impossible to create an instance)
- javadoc return statement updated git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@145 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -16,6 +16,9 @@ package ch.ntb.usb;
|
|||||||
*/
|
*/
|
||||||
public class LibusbWin {
|
public class LibusbWin {
|
||||||
|
|
||||||
|
private LibusbWin() {
|
||||||
|
}
|
||||||
|
|
||||||
// Core
|
// Core
|
||||||
/**
|
/**
|
||||||
* Just like the name implies, <code>usb_init</code> sets up some internal
|
* Just like the name implies, <code>usb_init</code> sets up some internal
|
||||||
@@ -70,7 +73,7 @@ public class LibusbWin {
|
|||||||
*
|
*
|
||||||
* @param dev_handle
|
* @param dev_handle
|
||||||
* The handle to the device.
|
* The handle to the device.
|
||||||
* @return
|
* @return 0 on success or < 0 on error.
|
||||||
*/
|
*/
|
||||||
public static native int usb_close(int dev_handle);
|
public static native int usb_close(int dev_handle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user