From f503409e074b5cbe02594899e73b4d223f4c4924 Mon Sep 17 00:00:00 2001 From: cdfrey Date: Fri, 30 Dec 2005 22:39:35 +0000 Subject: [PATCH] - updated usbwrap.h to match latest libusb CVS devel tree --- Changelog | 1 + src/usbwrap.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index d6b0cc86..5a80f1c4 100644 --- a/Changelog +++ b/Changelog @@ -9,6 +9,7 @@ Release: version 0.0.2 - 2005/??/?? constants... constants are now removed common.h, controller.cc, probe.cc, probe.h, usbwrap.cc - added ClearHalt() to Usb::Device (usbwrap.cc) + - updated usbwrap.h to match latest libusb CVS devel tree 2005/12/29 - added convenience Makefile in root directory - added Hacking document diff --git a/src/usbwrap.h b/src/usbwrap.h index 1a1bc682..489a13a2 100644 --- a/src/usbwrap.h +++ b/src/usbwrap.h @@ -51,7 +51,7 @@ public: class Match { - libusb_match_handle_t *m_match; + libusb_match_handle_t m_match; int m_lasterror; public: Match(int vendor, int product) @@ -164,7 +164,7 @@ public: private: libusb_device_id_t m_id; - libusb_dev_handle_t *m_handle; + libusb_dev_handle_t m_handle; io_list_type m_ios; @@ -189,7 +189,7 @@ public: // Data access libusb_device_id_t GetID() const { return m_id; } - libusb_dev_handle_t * GetHandle() const { return m_handle; } + libusb_dev_handle_t GetHandle() const { return m_handle; } int GetLastError() const { return m_lasterror; } -- 2.11.4.GIT