diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h index 06299b8129..fdf14b97fa 100644 --- a/src/lib/eolian/Eolian.h +++ b/src/lib/eolian/Eolian.h @@ -1835,16 +1835,6 @@ EAPI const Eolian_Class *eolian_type_class_get(const Eolian_Unit *unit, const Eo */ EAPI size_t eolian_type_array_size_get(const Eolian_Type *tp); -/* - * @brief Get whether the given type is owned. - * - * @param[in] tp the type. - * @return EINA_TRUE when the type is marked owned, EINA_FALSE otherwise. - * - * @ingroup Eolian - */ -EAPI Eina_Bool eolian_type_is_own(const Eolian_Type *tp); - /* * @brief Get whether the given type is owned. * diff --git a/src/lib/eolian/database_type_api.c b/src/lib/eolian/database_type_api.c index 2f6a86fbf4..8d83a8f273 100644 --- a/src/lib/eolian/database_type_api.c +++ b/src/lib/eolian/database_type_api.c @@ -326,13 +326,6 @@ eolian_type_array_size_get(const Eolian_Type *tp) return tp->static_size; } -EAPI Eina_Bool -eolian_type_is_own(const Eolian_Type *tp) -{ - EINA_SAFETY_ON_NULL_RETURN_VAL(tp, EINA_FALSE); - return tp->is_own; -} - EAPI Eina_Bool eolian_type_is_owned(const Eolian_Type *tp) { diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h index 8d7cb214bd..2e7d0e5f7b 100644 --- a/src/lib/eolian/eo_lexer.h +++ b/src/lib/eolian/eo_lexer.h @@ -27,7 +27,7 @@ enum Tokens KW(abstract), KW(constructor), KW(constructors), KW(data), \ KW(destructor), KW(eo), KW(eo_prefix), KW(event_prefix), KW(events), KW(free), \ KW(get), KW(implements), KW(import), KW(interface), KW(keys), KW(legacy), \ - KW(legacy_prefix), KW(methods), KW(mixin), KW(own), KW(params), KW(ptr), \ + KW(legacy_prefix), KW(methods), KW(mixin), KW(params), KW(ptr), \ KW(set), KW(type), KW(values), KW(var), KWAT(auto), KWAT(beta), \ KWAT(class), KWAT(const), KWAT(empty), KWAT(extern), \ KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), KWAT(nonull), KWAT(nullable), \ diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index 4126323b70..a523d881a0 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -720,19 +720,6 @@ parse_type_void(Eo_Lexer *ls, Eina_Bool allow_ref, Eina_Bool allow_sarray) check_match(ls, ')', '(', pline, pcol); return def; } - case KW_own: - { - int pline, pcolumn; - eo_lexer_get(ls); - pline = ls->line_number; - pcolumn = ls->column; - check_next(ls, '('); - def = parse_type_void(ls, allow_ref, EINA_FALSE); - FILL_BASE(def->base, ls, line, col); - def->is_own = EINA_TRUE; - check_match(ls, ')', '(', pline, pcolumn); - return def; - } case KW_free: { int pline, pcolumn; diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h index 47367f48f3..d0118d0653 100644 --- a/src/lib/eolian/eolian_database.h +++ b/src/lib/eolian/eolian_database.h @@ -164,7 +164,6 @@ struct _Eolian_Type Eina_Stringshare *freefunc; size_t static_size; Eina_Bool is_const :1; - Eina_Bool is_own :1; Eina_Bool is_ptr :1; Eina_Bool owned :1; };