projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1a000
)
gdbus: Add macro for methods marked as NOREPLY
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Tue, 29 May 2012 11:57:06 +0000
(08:57 -0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 18 Jun 2012 14:48:08 +0000
(16:48 +0200)
Bring gdbus up to sync with other projects. The macro is
not yet used in neard.
gdbus/gdbus.h
patch
|
blob
|
history
diff --git
a/gdbus/gdbus.h
b/gdbus/gdbus.h
index
e2e160d
..
0a8a27c
100644
(file)
--- a/
gdbus/gdbus.h
+++ b/
gdbus/gdbus.h
@@
-144,6
+144,13
@@
typedef struct {
.function = _function, \
.flags = G_DBUS_METHOD_FLAG_ASYNC | G_DBUS_METHOD_FLAG_DEPRECATED
+#define GDBUS_NOREPLY_METHOD(_name, _in_args, _out_args, _function) \
+ .name = _name, \
+ .in_args = _in_args, \
+ .out_args = _out_args, \
+ .function = _function, \
+ .flags = G_DBUS_METHOD_FLAG_NOREPLY
+
#define GDBUS_SIGNAL(_name, _args) \
.name = _name, \
.args = _args