mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 19:47:27 +00:00
widl: Add support for inherited runtime classes.
Needed to build windows.ui.composition.idl.
This commit is contained in:
parent
42d0fa8b13
commit
781b8b0e99
|
@ -1009,8 +1009,9 @@ coclassdef: attributes coclass '{' class_interfaces '}' semicolon_opt
|
|||
runtimeclass: tRUNTIMECLASS typename { $$ = type_runtimeclass_declare($2, current_namespace); }
|
||||
;
|
||||
|
||||
runtimeclass_def: attributes runtimeclass '{' class_interfaces '}' semicolon_opt
|
||||
{ $$ = type_runtimeclass_define($2, $1, $4); }
|
||||
runtimeclass_def: attributes runtimeclass inherit '{' class_interfaces '}' semicolon_opt
|
||||
{ if ($3 && type_get_type($3) != TYPE_RUNTIMECLASS) error_loc("%s is not a runtimeclass\n", $3->name);
|
||||
$$ = type_runtimeclass_define($2, $1, $5); }
|
||||
;
|
||||
|
||||
apicontract: tAPICONTRACT typename { $$ = type_apicontract_declare($2, current_namespace); }
|
||||
|
|
Loading…
Reference in a new issue