[maemo-commits] [maemo-commits] r10179 - in projects/haf/trunk/python-osso: debian src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Feb 22 16:14:46 EET 2007
- Previous message: [maemo-commits] r10178 - in projects/haf/trunk/python: Modules debian
- Next message: [maemo-commits] r10180 - projects/haf/trunk/python-runtime/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: luciano
Date: 2007-02-22 16:14:41 +0200 (Thu, 22 Feb 2007)
New Revision: 10179
Modified:
projects/haf/trunk/python-osso/debian/changelog
projects/haf/trunk/python-osso/src/osso-rpc.c
Log:
closes #388, #389
Modified: projects/haf/trunk/python-osso/debian/changelog
===================================================================
--- projects/haf/trunk/python-osso/debian/changelog 2007-02-22 14:11:11 UTC (rev 10178)
+++ projects/haf/trunk/python-osso/debian/changelog 2007-02-22 14:14:41 UTC (rev 10179)
@@ -1,6 +1,6 @@
-python-osso (0.3-1osso1) unstable; urgency=low
+python-osso (0.2-1osso2) unstable; urgency=low
- * Osso rpc functions revised:
+ * Osso rpc functions revised (closes #388, #389):
- rpc_run and rpc_async_run now can send correctly rpc arguments
- callback function of rpc_async_run now has an extra param: retval
eg: def callbackfunc (interface, method, retval, userdata):
Modified: projects/haf/trunk/python-osso/src/osso-rpc.c
===================================================================
--- projects/haf/trunk/python-osso/src/osso-rpc.c 2007-02-22 14:11:11 UTC (rev 10178)
+++ projects/haf/trunk/python-osso/src/osso-rpc.c 2007-02-22 14:14:41 UTC (rev 10179)
@@ -104,14 +104,14 @@
"c.rpc.rpc_async_run(service, object_path, interface, method, callback[, user_data[, rpc_args]])\n\n"
"Run a RPC method and call 'callback' after finished.\n\n"
"Usage example:\n\n"
- "\tdef my_func(interface, method, user_data=None):\n"
+ "\tdef my_func(interface, method, retval, user_data=None):\n"
"\t\tpass\n\n"
"\tc.rpc_async_run('com.nokia.backup', '/com/nokia/backup', 'com.nokia.backup', 'backup_finish', my_func, 'hello!', (True,))\n"},
{"rpc_async_run_with_defaults", (PyCFunction)Context_rpc_async_run_with_defaults, METH_VARARGS | METH_KEYWORDS,
"c.rpc.rpc_async_run_with_defaults(application, method, callback[, user_data[, rpc_args]])\n\n"
"Run a RPC method using default parameters and call 'callback' after finished.\n\n"
"Usage example:\n\n"
- "\tdef my_func(interface, method, user_data=None):\n"
+ "\tdef my_func(interface, method, retval, user_data=None):\n"
"\t\tpass\n\n"
"\tc.rpc_async_run_with_defaults('tn_mail', 'send_recv_button_focus', my_func, 'hello!', (True,))\n"},
{"set_rpc_callback", (PyCFunction)Context_set_rpc_callback, METH_VARARGS | METH_KEYWORDS,
- Previous message: [maemo-commits] r10178 - in projects/haf/trunk/python: Modules debian
- Next message: [maemo-commits] r10180 - projects/haf/trunk/python-runtime/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
