mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-27 20:11:51 +01:00
* string -> shortstring
This commit is contained in:
parent
08200fffa1
commit
d70d11a650
@ -80,8 +80,8 @@ type
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function SetQLJobName(const s: string): longint;
|
function SetQLJobName(const s: shortstring): longint;
|
||||||
function GetQLJobName: string;
|
function GetQLJobName: shortstring;
|
||||||
function GetQLJobNamePtr: pointer;
|
function GetQLJobNamePtr: pointer;
|
||||||
|
|
||||||
procedure SetQLDefaultConExitMessage(const msg: PAnsiChar);
|
procedure SetQLDefaultConExitMessage(const msg: PAnsiChar);
|
||||||
@ -138,7 +138,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ argument number l }
|
{ argument number l }
|
||||||
function ParamStr(l: LongInt): string;
|
function ParamStr(l: LongInt): shortstring;
|
||||||
begin
|
begin
|
||||||
if (l >= 0) and (l <= argc) then
|
if (l >= 0) and (l <= argc) then
|
||||||
ParamStr:=argv[l]
|
ParamStr:=argv[l]
|
||||||
@ -235,7 +235,7 @@ var
|
|||||||
const
|
const
|
||||||
JOB_NAME_MAX_LEN = 48;
|
JOB_NAME_MAX_LEN = 48;
|
||||||
|
|
||||||
function SetQLJobName(const s: string): longint;
|
function SetQLJobName(const s: shortstring): longint;
|
||||||
var
|
var
|
||||||
len: longint;
|
len: longint;
|
||||||
begin
|
begin
|
||||||
@ -251,7 +251,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GetQLJobName: string;
|
function GetQLJobName: shortstring;
|
||||||
var
|
var
|
||||||
len: longint;
|
len: longint;
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user