aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-02-06 10:29:43 +0200
committerMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-02-06 10:29:43 +0200
commit0a3a0e716a63f698c4d1caf17d1e63b5936ebca6 (patch)
tree3765b06046bc690a17c8abdc0eeeb64d993cbf2c /python
parentd19790b075c6fc6e8ed8666f2c9af29b62492d33 (diff)
Adding the set_bool to python bindings.
Adding more tests using the Subscrpition handler.
Diffstat (limited to 'python')
-rw-r--r--python/ContextProvider.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/ContextProvider.py b/python/ContextProvider.py
index 350cad2e..a718c31c 100644
--- a/python/ContextProvider.py
+++ b/python/ContextProvider.py
@@ -47,7 +47,10 @@ class ContextProvider:
('change_set', CHANGE_SET, 1),
('key', c_char_p, 1),
('val', c_double, 1))
-
+ change_set_add_bool = cfunc('context_provider_change_set_add_int', _dll, c_int,
+ ('change_set', CHANGE_SET, 1),
+ ('key', c_char_p, 1),
+ ('val', c_int, 1))
change_set_add_undetermined_key = cfunc('context_provider_change_set_add_undetermined_key', _dll, c_int,
('change_set', CHANGE_SET, 1),
('key', c_char_p, 1))