mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-28 13:01:35 +01:00
* string -> shortstring
This commit is contained in:
parent
28b8d069ba
commit
a3300b5ef5
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user