webidl: prefix enum types

This commit is contained in:
mattias 2022-07-18 18:11:53 +02:00
parent f8c49c4a1f
commit 20746a907d

View File

@ -1437,6 +1437,7 @@ begin
else else
begin begin
if (D is TIDLTypeDefDefinition) if (D is TIDLTypeDefDefinition)
or (D is TIDLEnumDefinition)
or ((D Is TIDLFunctionDefinition) and (foCallBack in TIDLFunctionDefinition(D).Options)) then or ((D Is TIDLFunctionDefinition) and (foCallBack in TIDLFunctionDefinition(D).Options)) then
begin begin
CN:=TypePrefix+CN; CN:=TypePrefix+CN;