mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 01:45:57 +02:00
+ added DebugWriteChar
git-svn-id: branches/wasm@47952 -
This commit is contained in:
parent
017b7903cf
commit
b80a650c7d
@ -13,6 +13,7 @@ type
|
||||
|
||||
procedure fpc_lib_exit; compilerproc;
|
||||
procedure DebugWrite(const P: PChar);
|
||||
procedure DebugWriteChar(Ch: Char);
|
||||
|
||||
implementation
|
||||
|
||||
@ -54,6 +55,15 @@ begin
|
||||
fd_write(1, @our_iov, 1, @our_nwritten);
|
||||
end;
|
||||
|
||||
procedure DebugWriteChar(Ch: Char);
|
||||
var
|
||||
CharArr: array [0..1] of Char;
|
||||
begin
|
||||
CharArr[0] := Ch;
|
||||
CharArr[1] := #0;
|
||||
DebugWrite(@CharArr);
|
||||
end;
|
||||
|
||||
procedure fpc_lib_exit; compilerproc;
|
||||
begin
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user