mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 13:09:16 +02:00
* PS1 system unit: moved constants that should be public to the interface part
This commit is contained in:
parent
b8154e3877
commit
23a66d21bd
@ -16,18 +16,6 @@ interface
|
|||||||
|
|
||||||
{$endif FPUNONE}
|
{$endif FPUNONE}
|
||||||
|
|
||||||
var
|
|
||||||
argc:longint=0;
|
|
||||||
argv:PPAnsiChar;
|
|
||||||
envp:PPAnsiChar;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
|
|
||||||
procedure _free(p: pointer); external name 'free2';
|
|
||||||
function _malloc(l: dword): pointer; external name 'malloc2';
|
|
||||||
|
|
||||||
|
|
||||||
const
|
const
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
AllowDirectorySeparators : set of AnsiChar = ['\','/'];
|
AllowDirectorySeparators : set of AnsiChar = ['\','/'];
|
||||||
@ -46,6 +34,17 @@ const
|
|||||||
FileNameCaseSensitive = true;
|
FileNameCaseSensitive = true;
|
||||||
sLineBreak = #13;
|
sLineBreak = #13;
|
||||||
|
|
||||||
|
var
|
||||||
|
argc:longint=0;
|
||||||
|
argv:PPAnsiChar;
|
||||||
|
envp:PPAnsiChar;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
|
||||||
|
procedure _free(p: pointer); external name 'free2';
|
||||||
|
function _malloc(l: dword): pointer; external name 'malloc2';
|
||||||
|
|
||||||
{I ../mips/setjump.inc}
|
{I ../mips/setjump.inc}
|
||||||
{$I system.inc}
|
{$I system.inc}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user