Browse Source

idl-api: remove idl_type_get_resolved_typekind()

use idl_type_get_resolved_type() and derive the typekind (or any properties) from the reolced type instead
main
heck 2 years ago
parent
commit
14ef5a9f00
  1. 12
      idl/idl_api.ysl2

12
idl/idl_api.ysl2

@ -84,18 +84,6 @@ def "func:idl_type_get_typekind_of_type" {
}
}
def "func:idl_type_get_resolved_typekind" {
param "idltype";
const "idltypekind", "func:idl_type_get_typekind_of_type($idltype)";
choose {
when "$idltypekind = 'deftype'"
result "func:idl_type_get_typekind_of_type(func:idl_type_get_type_of_deftype($idltype))";
otherwise
result "$idltypekind";
}
}
def "func:idl_type_get_resolved_type" {
param "idltype";
const "idltypekind", "func:idl_type_get_typekind_of_type($idltype)";

Loading…
Cancel
Save