summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-07-26 13:35:27 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-07-26 13:35:27 +0200
commit635a2df7e7e69d051a290f616c9e14528404f42b (patch)
treea8727b2a5e07b4af5c35108ccb8c43460ddc60ae /src/lib/eolian
parentd964a04da1ee654d9829c1b92dbb1ebb1d5738d7 (diff)
eolian: ban void_ptr in stable APIs
This required some refactoring in eldbus and tests but otherwise seems good to go.
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_validate.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 8e14a95554..95dc4a58b9 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -289,6 +289,17 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
289 default: 289 default:
290 break; 290 break;
291 } 291 }
292 switch (id)
293 {
294 case KW_void_ptr:
295 if (vals->stable)
296 {
297 _eo_parser_log(&tp->base,
298 "deprecated builtin type '%s' not allowed in stable context",
299 tp->base.name);
300 return EINA_FALSE;
301 }
302 }
292 return _validate_ownable(tp); 303 return _validate_ownable(tp);
293 } 304 }
294 /* user defined */ 305 /* user defined */