mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:29:18 +02:00
* string -> shortstring
This commit is contained in:
parent
28b8d069ba
commit
a3300b5ef5
@ -71,12 +71,12 @@ begin
|
||||
GetLibAdress := Pointer((Base -(Offset * SizeOf(Pointer)))^);
|
||||
end;
|
||||
|
||||
procedure Debug(s: string);
|
||||
procedure Debug(s: shortstring);
|
||||
type
|
||||
TkPrintf = function(Msg: PAnsiChar): Integer; cdecl;
|
||||
var
|
||||
kPrintf: TkPrintf;
|
||||
d: string;
|
||||
d: shortstring;
|
||||
i: Integer;
|
||||
begin
|
||||
if Assigned(AOS_ExecBase) then
|
||||
@ -93,7 +93,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure Debugln(s: string);
|
||||
procedure Debugln(s: shortstring);
|
||||
begin
|
||||
Debug(s + #10);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user