mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
Update bootstrap C source.
This commit is contained in:
parent
cbf78cb6f1
commit
7279aa91be
185 changed files with 1465 additions and 1465 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/11/24]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
|
||||
/* voc 2.00 [2016/11/25]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
|
||||
|
||||
#ifndef Platform__h
|
||||
#define Platform__h
|
||||
|
|
@ -27,35 +27,35 @@ import CHAR Platform_NL[3];
|
|||
import ADDRESS *Platform_FileIdentity__typ;
|
||||
|
||||
import BOOLEAN Platform_Absent (INT16 e);
|
||||
import INT16 Platform_ArgPos (CHAR *s, LONGINT s__len);
|
||||
import INT16 Platform_Chdir (CHAR *n, LONGINT n__len);
|
||||
import INT16 Platform_ArgPos (CHAR *s, ADDRESS s__len);
|
||||
import INT16 Platform_Chdir (CHAR *n, ADDRESS n__len);
|
||||
import INT16 Platform_Close (INT32 h);
|
||||
import BOOLEAN Platform_ConnectionFailed (INT16 e);
|
||||
import void Platform_Delay (INT32 ms);
|
||||
import BOOLEAN Platform_DifferentFilesystems (INT16 e);
|
||||
import INT16 Platform_Error (void);
|
||||
import void Platform_Exit (INT32 code);
|
||||
import void Platform_GetArg (INT16 n, CHAR *val, LONGINT val__len);
|
||||
import void Platform_GetArg (INT16 n, CHAR *val, ADDRESS val__len);
|
||||
import void Platform_GetClock (INT32 *t, INT32 *d);
|
||||
import void Platform_GetEnv (CHAR *var, LONGINT var__len, CHAR *val, LONGINT val__len);
|
||||
import void Platform_GetEnv (CHAR *var, ADDRESS var__len, CHAR *val, ADDRESS val__len);
|
||||
import void Platform_GetIntArg (INT16 n, INT32 *val);
|
||||
import void Platform_GetTimeOfDay (INT32 *sec, INT32 *usec);
|
||||
import INT16 Platform_Identify (INT32 h, Platform_FileIdentity *identity, ADDRESS *identity__typ);
|
||||
import INT16 Platform_IdentifyByName (CHAR *n, LONGINT n__len, Platform_FileIdentity *identity, ADDRESS *identity__typ);
|
||||
import INT16 Platform_IdentifyByName (CHAR *n, ADDRESS n__len, Platform_FileIdentity *identity, ADDRESS *identity__typ);
|
||||
import BOOLEAN Platform_Inaccessible (INT16 e);
|
||||
import void Platform_Init (INT32 argc, INT32 argvadr);
|
||||
import BOOLEAN Platform_Interrupted (INT16 e);
|
||||
import BOOLEAN Platform_IsConsole (INT32 h);
|
||||
import void Platform_MTimeAsClock (Platform_FileIdentity i, INT32 *t, INT32 *d);
|
||||
import INT16 Platform_New (CHAR *n, LONGINT n__len, INT32 *h);
|
||||
import INT16 Platform_New (CHAR *n, ADDRESS n__len, INT32 *h);
|
||||
import BOOLEAN Platform_NoSuchDirectory (INT16 e);
|
||||
import INT32 Platform_OSAllocate (INT32 size);
|
||||
import void Platform_OSFree (INT32 address);
|
||||
import INT16 Platform_OldRO (CHAR *n, LONGINT n__len, INT32 *h);
|
||||
import INT16 Platform_OldRW (CHAR *n, LONGINT n__len, INT32 *h);
|
||||
import INT16 Platform_OldRO (CHAR *n, ADDRESS n__len, INT32 *h);
|
||||
import INT16 Platform_OldRW (CHAR *n, ADDRESS n__len, INT32 *h);
|
||||
import INT16 Platform_Read (INT32 h, INT32 p, INT32 l, INT32 *n);
|
||||
import INT16 Platform_ReadBuf (INT32 h, SYSTEM_BYTE *b, LONGINT b__len, INT32 *n);
|
||||
import INT16 Platform_Rename (CHAR *o, LONGINT o__len, CHAR *n, LONGINT n__len);
|
||||
import INT16 Platform_ReadBuf (INT32 h, SYSTEM_BYTE *b, ADDRESS b__len, INT32 *n);
|
||||
import INT16 Platform_Rename (CHAR *o, ADDRESS o__len, CHAR *n, ADDRESS n__len);
|
||||
import BOOLEAN Platform_SameFile (Platform_FileIdentity i1, Platform_FileIdentity i2);
|
||||
import BOOLEAN Platform_SameFileTime (Platform_FileIdentity i1, Platform_FileIdentity i2);
|
||||
import INT16 Platform_Seek (INT32 h, INT32 offset, INT16 whence);
|
||||
|
|
@ -65,14 +65,14 @@ import void Platform_SetMTime (Platform_FileIdentity *target, ADDRESS *target__t
|
|||
import void Platform_SetQuitHandler (Platform_SignalHandler handler);
|
||||
import INT16 Platform_Size (INT32 h, INT32 *l);
|
||||
import INT16 Platform_Sync (INT32 h);
|
||||
import INT16 Platform_System (CHAR *cmd, LONGINT cmd__len);
|
||||
import INT16 Platform_System (CHAR *cmd, ADDRESS cmd__len);
|
||||
import INT32 Platform_Time (void);
|
||||
import BOOLEAN Platform_TimedOut (INT16 e);
|
||||
import BOOLEAN Platform_TooManyFiles (INT16 e);
|
||||
import INT16 Platform_Truncate (INT32 h, INT32 l);
|
||||
import INT16 Platform_Unlink (CHAR *n, LONGINT n__len);
|
||||
import INT16 Platform_Unlink (CHAR *n, ADDRESS n__len);
|
||||
import INT16 Platform_Write (INT32 h, INT32 p, INT32 l);
|
||||
import BOOLEAN Platform_getEnv (CHAR *var, LONGINT var__len, CHAR *val, LONGINT val__len);
|
||||
import BOOLEAN Platform_getEnv (CHAR *var, ADDRESS var__len, CHAR *val, ADDRESS val__len);
|
||||
import void *Platform__init(void);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue