summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-05-07 15:05:26 +0100
committerTom Hacohen <tom@stosb.com>2014-05-09 08:26:25 +0100
commit8784685120a1ae04eb5d1261bb2d419dc418ab6c (patch)
treefacc5985837ab95fdb6df4015bfea5ca13624c87
parent368f36dee3f980f295b5170b6d87fdd0004bcc9f (diff)
downloadefl-8784685120a1ae04eb5d1261bb2d419dc418ab6c.tar.gz
Eo: Rename descs2 to descs (remnant of the Eo2 change).
-rw-r--r--src/lib/eo/Eo.h2
-rw-r--r--src/lib/eo/eo.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 0ec58b511c..c37eeb5382 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 59865e622c..52ac9d5fe6 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);