stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5d7d0231243b64f31aab5b3d0c052aa51a05bb48

commit 5d7d0231243b64f31aab5b3d0c052aa51a05bb48
Author: Stefan Schmidt <[email protected]>
Date:   Fri Nov 7 15:05:46 2014 +0100

    examples/eldbus: Initialize all description members
    
    Better to initialize all members here in the example.
---
 src/examples/eldbus/complex-types-server.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/examples/eldbus/complex-types-server.c 
b/src/examples/eldbus/complex-types-server.c
index fb87b71..30321e8 100644
--- a/src/examples/eldbus/complex-types-server.c
+++ b/src/examples/eldbus/complex-types-server.c
@@ -282,7 +282,7 @@ invalid_signature:
 static const Eldbus_Method methods[] = {
       {
         "ReceiveArray", ELDBUS_ARGS({"as", "array_of_strings"}),
-        NULL, _receive_array
+        NULL, _receive_array, 0
       },
       {
         "ReceiveArrayOfStringIntWithSize",
@@ -291,11 +291,11 @@ static const Eldbus_Method methods[] = {
       },
       {
         "SendVariantData", ELDBUS_ARGS({"v", "variant_data"}),
-        NULL, _send_variant
+        NULL, _send_variant, 0
       },
       {
        "ReceiveVariantData", NULL, ELDBUS_ARGS({"v", "variant_data"}),
-       _receive_variant
+       _receive_variant, 0
       },
       {
         "SendArrayInt", NULL,
@@ -303,24 +303,24 @@ static const Eldbus_Method methods[] = {
       },
       {
         "SendArray", NULL, ELDBUS_ARGS({"as", "array_string"}),
-        _send_array
+        _send_array, 0
       },
       {
         "PlusOne", ELDBUS_ARGS({"i", "integer"}),
-        ELDBUS_ARGS({"i", "integer_plus_one"}), _plus_one
+        ELDBUS_ARGS({"i", "integer_plus_one"}), _plus_one, 0
       },
       {
         "DoubleContainner", ELDBUS_ARGS({"a(ii)", "array1"}, {"a(ii)", 
"array2"}),
-        NULL, _double_container
+        NULL, _double_container, 0
       },
       { }
 };
 
 static const Eldbus_Property properties[] = {
-      { "Resp2", "s", NULL, _properties_set },
-      { "text", "s" },
-      { "int32", "i", NULL, _properties_set },
-      { "st", "(ss)" },
+      { "Resp2", "s", NULL, _properties_set, 0 },
+      { "text", "s", NULL, NULL, 0 },
+      { "int32", "i", NULL, _properties_set, 0 },
+      { "st", "(ss)", NULL, NULL, 0 },
       { }
 };
 

-- 


Reply via email to