aboutsummaryrefslogtreecommitdiff
path: root/hidio_darwin.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-09-08 17:24:19 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-09-08 17:24:19 +0000
commit0ffbcb755916398d7127d1318aeac3863a7ea00e (patch)
tree10008522663f7943a42626fc8e74d1393a6b1797 /hidio_darwin.c
parentb071bb51731dc835cc4fca8b36c77e0701c222f5 (diff)
- fixed "open" state reporting, it was always reporting "open 1"
- cleaned up hidio-help.pd a bit, removed deprecated [print( message svn path=/trunk/externals/io/hidio/; revision=10278
Diffstat (limited to 'hidio_darwin.c')
-rw-r--r--hidio_darwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hidio_darwin.c b/hidio_darwin.c
index 1eb6bf4..dcc912b 100644
--- a/hidio_darwin.c
+++ b/hidio_darwin.c
@@ -830,6 +830,7 @@ t_int hidio_open_device(t_hidio *x, short device_number)
}
+// TODO: return the same as POSIX open()/close() - 0=success, -1=fail
t_int hidio_close_device(t_hidio *x)
{
debug_post(LOG_DEBUG,"hidio_close_device");