forked from enlightenment/efl
eolian: finally error on missing since tags
this is actaully usefull ... for people not forgetting things. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Differential Revision: https://phab.enlightenment.org/D11266
This commit is contained in:
parent
4a81eb6468
commit
534cd92c87
|
@ -15,7 +15,6 @@ typedef struct _Validate_State
|
||||||
Eina_Bool stable;
|
Eina_Bool stable;
|
||||||
Eina_Bool in_tree;
|
Eina_Bool in_tree;
|
||||||
Eina_Bool unimplemented_beta;
|
Eina_Bool unimplemented_beta;
|
||||||
Eina_Bool verify_since;
|
|
||||||
const char *since_ver;
|
const char *since_ver;
|
||||||
} Validate_State;
|
} Validate_State;
|
||||||
|
|
||||||
|
@ -94,7 +93,7 @@ _validate_docstr(Eina_Stringshare *str, const Eolian_Object *info, Eina_List **r
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_validate_doc_since(Validate_State *vals, Eolian_Documentation *doc)
|
_validate_doc_since(Validate_State *vals, Eolian_Documentation *doc)
|
||||||
{
|
{
|
||||||
if (!doc || !vals->stable || !vals->verify_since)
|
if (!doc || !vals->stable)
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
||||||
if (doc->since)
|
if (doc->since)
|
||||||
|
@ -1680,7 +1679,6 @@ database_validate(const Eolian_Unit *src)
|
||||||
EINA_TRUE,
|
EINA_TRUE,
|
||||||
!!getenv("EFL_RUN_IN_TREE"),
|
!!getenv("EFL_RUN_IN_TREE"),
|
||||||
!!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN"),
|
!!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN"),
|
||||||
!!getenv("EOLIAN_ENFORCE_SINCE")
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* do an initial pass to refill inherits */
|
/* do an initial pass to refill inherits */
|
||||||
|
|
Loading…
Reference in New Issue