mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 10:29:37 +01:00
amicommon: added ShortString version of SysDebug family of functions
git-svn-id: trunk@30921 -
This commit is contained in:
parent
242d750ef5
commit
eb692e46d2
@ -38,6 +38,23 @@ begin
|
|||||||
RawPutChar(#10);
|
RawPutChar(#10);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure SysDebug(const s: ShortString); platform;
|
||||||
|
var
|
||||||
|
i: LongInt;
|
||||||
|
begin
|
||||||
|
for i:=1 to Length(s) do
|
||||||
|
RawPutChar(s[i]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure SysDebugLn(const s: ShortString); platform;
|
||||||
|
var
|
||||||
|
i: LongInt;
|
||||||
|
begin
|
||||||
|
for i:=1 to Length(s) do
|
||||||
|
RawPutChar(s[i]);
|
||||||
|
RawPutChar(#10);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure SysDebugLn; {$IFDEF SYSTEMINLINE}inline;{$ENDIF} platform;
|
procedure SysDebugLn; {$IFDEF SYSTEMINLINE}inline;{$ENDIF} platform;
|
||||||
begin
|
begin
|
||||||
RawPutChar(#10);
|
RawPutChar(#10);
|
||||||
|
|||||||
@ -15,4 +15,6 @@
|
|||||||
|
|
||||||
procedure SysDebug(const s: RawByteString);
|
procedure SysDebug(const s: RawByteString);
|
||||||
procedure SysDebugLn(const s: RawByteString);
|
procedure SysDebugLn(const s: RawByteString);
|
||||||
|
procedure SysDebug(const s: ShortString);
|
||||||
|
procedure SysDebugLn(const s: ShortString);
|
||||||
procedure SysDebugLn;
|
procedure SysDebugLn;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user