eolian: also ban underscore prefixed builtins in stable API
authorDaniel Kolesa <d.kolesa@samsung.com>
Fri, 26 Jul 2019 11:38:01 +0000 (13:38 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:48:26 +0000 (10:48 +0900)
src/lib/eolian/database_validate.c

index 95dc4a5..eb81875 100644 (file)
@@ -292,6 +292,8 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
                 switch (id)
                   {
                    case KW_void_ptr:
+                   case KW___undefined_type:
+                   case KW___builtin_free_cb:
                      if (vals->stable)
                        {
                           _eo_parser_log(&tp->base,