mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 18:07:49 +02:00
rtl: GUIDToString simplified
This commit is contained in:
parent
3f0b7322ad
commit
ce883581ac
@ -192,7 +192,7 @@ const
|
||||
{ for safe as operator support }
|
||||
IObjectInstance: TGuid = '{D91C9AF4-3C93-420F-A303-BF5BA82BFD23}';
|
||||
|
||||
function GUIDToString(const GUID: TGUID): string; overload;
|
||||
function GUIDToString(const GUID: TGUID): string; external name 'rtl.guidrToStr';
|
||||
|
||||
{*****************************************************************************
|
||||
Init / Exit / ExitProc
|
||||
@ -292,11 +292,6 @@ asm
|
||||
return s1.toLowerCase() == s2.toLowerCase();
|
||||
end;
|
||||
|
||||
function GUIDToString(const GUID: TGUID): string; assembler;
|
||||
asm
|
||||
return rtl.guidrToStr(GUID);
|
||||
end;
|
||||
|
||||
function ParamCount: Longint;
|
||||
begin
|
||||
if Assigned(OnParamCount) then
|
||||
|
Loading…
Reference in New Issue
Block a user