use the address of the device structure for device selection in usb_open instead of the device number

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@266 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
spandi
2008-02-10 22:36:59 +00:00
parent 23f1164d44
commit 3fc955f9fd
2 changed files with 14 additions and 2 deletions

View File

@@ -31,6 +31,13 @@ public class Usb_Device {
private Usb_Device children;
/**
* The address of the device structure to be passed to usb_open. This value
* is used only internally so we don't use getter or setter methods.
*/
@SuppressWarnings("unused")
public long devStructAddr;
/**
* Returns the reference to the bus to which this device is connected.<br>
*