diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 20f30d5113..5446c5ce37 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -686,13 +686,11 @@ typedef struct _Eo2_Op_Call_Data // OP ID of an overriding function #define EO2_OP_OVERRIDE ((Eo_Op) -1) -#define EO2_OP_VIRTUAL ((Eo_Op) -2) #define EO2_OP_FUNC(_private, _api, _doc) {_private, _api, EO_NOOP, EO_OP_TYPE_REGULAR, _doc} #define EO2_OP_CLASS_FUNC(_private, _api, _doc) {_private, _api, EO_NOOP, EO_OP_TYPE_CLASS, _doc} #define EO2_OP_FUNC_OVERRIDE(_private, _api) {_private, _api, EO2_OP_OVERRIDE, EO_OP_TYPE_REGULAR, NULL} #define EO2_OP_CLASS_FUNC_OVERRIDE(_private, _api) {_private, _api, EO2_OP_OVERRIDE, EO_OP_TYPE_CLASS, NULL} -#define EO2_OP_FUNC_VIRTUAL(_api, _doc) {NULL, _api, EO2_OP_VIRTUAL, EO_OP_TYPE_REGULAR, _doc} #define EO2_OP_SENTINEL { NULL, NULL, 0, EO_OP_TYPE_INVALID, NULL} // returns the OP id corresponding to the given api_func diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 1a48d24bb0..57d0ad6468 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -573,11 +573,6 @@ _eo2_class_funcs_set(_Eo_Class *klass) op_desc->op = op_id; op_id++; } - else if (op_desc->op == EO2_OP_VIRTUAL) - { - op_desc->op = op_id; - op_id++; - } else if (op_desc->op == EO2_OP_OVERRIDE) { if (klass->parent == NULL)