lazutils: less hints

This commit is contained in:
mattias 2023-07-20 14:52:13 +02:00
parent 64d8a0b0bc
commit 2aaefc8651
5 changed files with 7 additions and 7 deletions

View File

@ -794,7 +794,7 @@ begin
tkQWord: Result := IntToStr(QWord(AValue));
tkSet: Result := SetToString(APTypeInfo, @AValue, True);
tkChar: Result := Char(AValue);
tkWChar: Result := WideChar(AValue);
tkWChar: Result := {%H-}WideChar(AValue);
end;
end;

View File

@ -698,7 +698,7 @@ begin
end;
end;
procedure AddNodes(var Dst: TXPathNodeArray; const Src: array of TXPathExprNode;
procedure AddNodes(var Dst: TXPathNodeArray; const {%H-}Src: array of TXPathExprNode;
var Count: Integer);
var
L: Integer;

View File

@ -164,7 +164,7 @@ type
procedure DoDbgOut(s: string; AGroup: PLazLoggerLogGroup = nil); override;
procedure DoDebugLn(s: string; AGroup: PLazLoggerLogGroup = nil); override;
procedure DoDebuglnStack(const s: string; AGroup: PLazLoggerLogGroup = nil); override;
procedure DoDebuglnStack(const s: string; {%H-}AGroup: PLazLoggerLogGroup = nil); override;
property FileHandle: TLazLoggerFileHandle read GetFileHandle write SetFileHandle;
public

View File

@ -133,9 +133,9 @@ type
procedure IndentChanged; virtual;
function GetBlockHandler({%H-}AIndex: Integer): TLazLoggerBlockHandler; virtual;
procedure DoDbgOut({%H-}s: string; AGroup: PLazLoggerLogGroup = nil); virtual;
procedure DoDebugLn({%H-}s: string; AGroup: PLazLoggerLogGroup = nil); virtual;
procedure DoDebuglnStack(const {%H-}s: string; AGroup: PLazLoggerLogGroup = nil); virtual;
procedure DoDbgOut({%H-}s: string; {%H-}AGroup: PLazLoggerLogGroup = nil); virtual;
procedure DoDebugLn({%H-}s: string; {%H-}AGroup: PLazLoggerLogGroup = nil); virtual;
procedure DoDebuglnStack(const {%H-}s: string; {%H-}AGroup: PLazLoggerLogGroup = nil); virtual;
function ArgsToString(Args: array of const): string;
property IsInitialized: Boolean read FIsInitialized;

View File

@ -194,7 +194,7 @@ type
const {%H-}s16: string = ''; const {%H-}s17: string = ''; const {%H-}s18: string = ''); overload;
procedure DumpExceptionBackTrace;
procedure DumpExceptionBackTrace(LogEnabled: TLazLoggerLogEnabled);
procedure DumpExceptionBackTrace({%H-}LogEnabled: TLazLoggerLogEnabled);
end;