summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 12:36:13 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 12:36:50 +0200
commit81441638dbff9f5e0c15a54d8142cdbd21582ce1 (patch)
treea70d6802cc4b17c71478af951d5628f9f60215ed /src/lib/eolian
parentf87ba12a764afdd757d1a4e8e322aaf7c500e765 (diff)
eolian: enable unimplemented function errors for stable API
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_validate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index b4a9a41053..196ab5bb88 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -12,7 +12,6 @@ typedef struct _Validate_State
12{ 12{
13 Eina_Bool warned; 13 Eina_Bool warned;
14 Eina_Bool stable; 14 Eina_Bool stable;
15 Eina_Bool unimplemented;
16 Eina_Bool unimplemented_beta; 15 Eina_Bool unimplemented_beta;
17} Validate_State; 16} Validate_State;
18 17
@@ -913,10 +912,6 @@ _db_check_implemented(Validate_State *vals, Eolian_Class *cl, Eina_Hash *fs,
913 912
914 Eina_Bool succ = EINA_TRUE; 913 Eina_Bool succ = EINA_TRUE;
915 914
916 /* unimplemented checks are not enabled for any objects */
917 if (!vals->unimplemented)
918 return EINA_TRUE;
919
920 /* class is beta and we didn't enable unimplemented checking for those */ 915 /* class is beta and we didn't enable unimplemented checking for those */
921 if (!vals->unimplemented_beta && cl->base.is_beta) 916 if (!vals->unimplemented_beta && cl->base.is_beta)
922 return EINA_TRUE; 917 return EINA_TRUE;
@@ -1476,7 +1471,6 @@ database_validate(const Eolian_Unit *src)
1476 Validate_State vals = { 1471 Validate_State vals = {
1477 EINA_FALSE, 1472 EINA_FALSE,
1478 EINA_TRUE, 1473 EINA_TRUE,
1479 !!getenv("EOLIAN_CLASS_UNIMPLEMENTED_WARN"),
1480 !!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN") 1474 !!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN")
1481 }; 1475 };
1482 1476