forked from enlightenment/efl
Eo: Rename descs2 to descs (remnant of the Eo2 change).
This commit is contained in:
parent
368f36dee3
commit
8784685120
|
@ -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. */
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue