* string -> shortstring

This commit is contained in:
Michaël Van Canneyt 2023-07-13 14:50:35 +02:00 committed by Michael Van Canneyt
parent 28b8d069ba
commit a3300b5ef5

View File

@ -71,12 +71,12 @@ begin
GetLibAdress := Pointer((Base -(Offset * SizeOf(Pointer)))^); GetLibAdress := Pointer((Base -(Offset * SizeOf(Pointer)))^);
end; end;
procedure Debug(s: string); procedure Debug(s: shortstring);
type type
TkPrintf = function(Msg: PAnsiChar): Integer; cdecl; TkPrintf = function(Msg: PAnsiChar): Integer; cdecl;
var var
kPrintf: TkPrintf; kPrintf: TkPrintf;
d: string; d: shortstring;
i: Integer; i: Integer;
begin begin
if Assigned(AOS_ExecBase) then if Assigned(AOS_ExecBase) then
@ -93,7 +93,7 @@ begin
end; end;
end; end;
procedure Debugln(s: string); procedure Debugln(s: shortstring);
begin begin
Debug(s + #10); Debug(s + #10);
end; end;