* Correction in naming of types

This commit is contained in:
Michaël Van Canneyt 2025-01-27 21:45:06 +01:00
parent 98b551d261
commit 690ed25adf

View File

@ -708,8 +708,11 @@ procedure TAPIData.ConfigType(aType :TAPITypeData);
begin
aType.InterfaceName:=EscapeKeyWord(InterfaceTypePrefix+aType.SchemaName);
aType.InterfaceUUID:=TGUID.NewGUID.ToString(False);
if aType.Pascaltype in [ptAnonStruct,ptSchemaStruct] then
begin
aType.InterfaceName:=EscapeKeyWord(InterfaceTypePrefix+aType.SchemaName);
aType.InterfaceUUID:=TGUID.NewGUID.ToString(False);
end;
end;
procedure TAPIData.ApplyUUIDMap(aMap : TStrings);