aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2009-02-11 13:59:52 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2009-02-11 13:59:52 +0100
commit1ce5af2d7a48000a77d98dedf4c4a1030d7235d1 (patch)
tree8c7b158599d3ac35d5ead61e0c672d0c5e6aba78 /python
parent91d841fa26638ff69bea94856834a3d4d6c5d39d (diff)
Callbacks all return null, modify ctypes bindings appropriately
Diffstat (limited to 'python')
-rw-r--r--python/ContextProvider.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/ContextProvider.py b/python/ContextProvider.py
index 0d1201dd..962bf979 100644
--- a/python/ContextProvider.py
+++ b/python/ContextProvider.py
@@ -15,9 +15,9 @@ class PROVIDER(c_void_p):
class ContextProvider:
- GET_CALLBACK = CFUNCTYPE(c_int, STRING_SET, CHANGE_SET, c_void_p)
- SUBSCRIBED_CALLBACK = CFUNCTYPE(c_int, STRING_SET, c_void_p)
- UNSUBSCRIBED_CALLBACK = CFUNCTYPE(c_int, STRING_SET, STRING_SET, c_void_p)
+ GET_CALLBACK = CFUNCTYPE(None, STRING_SET, CHANGE_SET, c_void_p)
+ SUBSCRIBED_CALLBACK = CFUNCTYPE(None, STRING_SET, c_void_p)
+ UNSUBSCRIBED_CALLBACK = CFUNCTYPE(None, STRING_SET, STRING_SET, c_void_p)
init = cfunc('context_provider_init', _dll, None,
('bus_type', c_int, 1),