eolian: rename generic_value to any_value
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 22 Sep 2017 18:16:06 +0000 (20:16 +0200)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 22 Sep 2017 18:16:06 +0000 (20:16 +0200)
src/lib/edje/efl_canvas_layout_signal.eo
src/lib/efl/interfaces/efl_config.eo
src/lib/efl/interfaces/efl_model.eo
src/lib/elementary/elm_prefs.eo
src/lib/eolian/database_validate.c
src/lib/eolian/eo_lexer.h

index a7d971b..67e3f37 100644 (file)
@@ -40,7 +40,7 @@ interface Efl.Canvas.Layout_Signal
          ]]
          params {
             @in id: int; [[A identification number for the message to be sent]]
-            @in msg: const(generic_value); [[The message's payload]]
+            @in msg: const(any_value); [[The message's payload]]
          }
       }
       signal_callback_add {
index 3f128cd..5adf7b2 100644 (file)
@@ -7,7 +7,7 @@ interface Efl.Config ()
         [[Set configuration]]
          params {
             name: string; [[Configuration option name]]
-            val: ptr(const(generic_value)); [[Configuration option value]]
+            val: ptr(const(any_value)); [[Configuration option value]]
          }
          return: bool; [[$false in case of error: value type was invalid, the
                          config can't be changed, config does not exist...]]
@@ -17,14 +17,14 @@ interface Efl.Config ()
          params {
             name: string; [[Configuration option name]]
          }
-         return: ptr(generic_value) @owned; [[Configuration option value]]
+         return: ptr(any_value) @owned; [[Configuration option value]]
       }
       config_list_get @const {
          [[Returns a list of generic values under a given key.]]
          params {
             @in name: string; [[Configuration option name]]
          }
-         return: iterator<ptr(generic_value)> @owned; [[
+         return: iterator<ptr(any_value)> @owned; [[
                  List of configuration option values]]
       }
    }
index e95a099..7ff10a1 100644 (file)
@@ -47,9 +47,9 @@ interface Efl.Model ()
             ]]
            params {
                @in property: string; [[Property name]]
-               @in value: ptr(const(generic_value)); [[New value]]
+               @in value: ptr(const(any_value)); [[New value]]
            }
-           return: future<generic_value>; [[Future returning the recorded value or error]]
+           return: future<any_value>; [[Future returning the recorded value or error]]
         }
         property_get {
            [[Retrieve the value of a given property name.
@@ -65,7 +65,7 @@ interface Efl.Model ()
            params {
                @in property: string; [[Property name]]
            }
-           return: future<generic_value>; [[Future of the value that was got]]
+           return: future<any_value>; [[Future of the value that was got]]
         }
         children_slice_get {
                [[Get children slice OR full range.
index 5109163..32f72cb 100644 (file)
@@ -93,7 +93,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
          return: bool; [[$true, on success, $false otherwise]]
          params {
             @in name: string; [[The name of the item (as declared in the prefs collection)]]
-            @in value: ptr(const(generic_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]]
+            @in value: ptr(const(any_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]]
          }
       }
       item_value_get @const {
@@ -106,7 +106,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
 
          params {
             @in name: string; [[The name of the item (as declared in the prefs collection) to get value from]]
-            @out value: generic_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]]
+            @out value: any_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]]
          }
       }
       item_object_get {
index 7ef27ac..5f9a6b2 100644 (file)
@@ -187,7 +187,7 @@ _validate_type(Eolian_Type *tp)
                      case KW_stringshare:
                        tp->freefunc = eina_stringshare_add(eo_strshare_free);
                        break;
-                     case KW_generic_value:
+                     case KW_any_value:
                        tp->freefunc = eina_stringshare_add(eo_value_free);
                        break;
                      default:
index 849cc98..2235806 100644 (file)
@@ -52,7 +52,7 @@ enum Tokens
     \
     KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
     KW(future),                                   \
-    KW(generic_value), \
+    KW(any_value), \
     KW(mstring), KW(string), KW(stringshare), \
     \
     KW(void_ptr), \