tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8784685120a1ae04eb5d1261bb2d419dc418ab6c

commit 8784685120a1ae04eb5d1261bb2d419dc418ab6c
Author: Tom Hacohen <[email protected]>
Date:   Wed May 7 15:05:26 2014 +0100

    Eo: Rename descs2 to descs (remnant of the Eo2 change).
---
 src/lib/eo/Eo.h | 2 +-
 src/lib/eo/eo.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 0ec58b5..c37eeb5 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -386,7 +386,7 @@ struct _Eo_Class_Description
    const char *name; /**< The name of the class. */
    Eo_Class_Type type; /**< The type of the class. */
    struct {
-        Eo_Op_Description *descs2; /**< The op descriptions array of size 
count. */
+        Eo_Op_Description *descs; /**< The op descriptions array of size 
count. */
         size_t count; /**< Number of op descriptions. */
    } ops; /**< The ops description, should be filled using 
#EO_CLASS_DESCRIPTION_OPS (later sorted by Eo). */
    const Eo_Event_Description **events; /**< The event descriptions for this 
class. */
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 59865e6..52ac9d5 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -205,7 +205,7 @@ _eo_op_id_desc_get(Eo_Op op)
      {
         DBG("klass %p %s", klass, klass->desc->name);
 
-        op_descs = klass->desc->ops.descs2;
+        op_descs = klass->desc->ops.descs;
         for (i = 0; i <  klass->desc->ops.count; i++)
           {
              if (op_descs[i].op == op)
@@ -700,7 +700,7 @@ _eo_api_desc_get(const void *api_func, const _Eo_Class 
*klass, const _Eo_Class *
              cur_klass = *kls_itr;
              imin = 0;
              imax = cur_klass->desc->ops.count - 1;
-             op_descs = cur_klass->desc->ops.descs2;
+             op_descs = cur_klass->desc->ops.descs;
 
              while (imax >= imin)
                {
@@ -788,7 +788,7 @@ _eo_class_funcs_set(_Eo_Class *klass)
    Eo_Op_Description *op_descs;
 
    op_id = klass->base_id;
-   op_descs = klass->desc->ops.descs2;
+   op_descs = klass->desc->ops.descs;
 
    DBG("Set functions for class '%s':%p", klass->desc->name, klass);
 

-- 


Reply via email to