mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
Uppercase internal SYSTEM.H types address, int*, uint*. Phase 1.
This commit is contained in:
parent
1935f63cd6
commit
baeb2db81f
205 changed files with 8388 additions and 8311 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/10/28]. Bootstrapping compiler for address size 8, alignment 8. xtspaSfF */
|
||||
/* voc 1.95 [2016/11/08]. Bootstrapping compiler for address size 8, alignment 8. xtspaSfF */
|
||||
|
||||
#ifndef Texts__h
|
||||
#define Texts__h
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
typedef
|
||||
struct Texts_BufDesc {
|
||||
int32 len;
|
||||
INT32 len;
|
||||
char _prvt0[4];
|
||||
} Texts_BufDesc;
|
||||
|
||||
|
|
@ -30,25 +30,25 @@ typedef
|
|||
|
||||
typedef
|
||||
struct Texts_RunDesc {
|
||||
int32 _prvt0;
|
||||
INT32 _prvt0;
|
||||
char _prvt1[15];
|
||||
} Texts_RunDesc;
|
||||
|
||||
typedef
|
||||
void (*Texts_Handler)(Texts_Elem, Texts_ElemMsg*, address *);
|
||||
void (*Texts_Handler)(Texts_Elem, Texts_ElemMsg*, ADDRESS *);
|
||||
|
||||
typedef
|
||||
struct Texts_ElemDesc {
|
||||
char _prvt0[20];
|
||||
int32 W, H;
|
||||
INT32 W, H;
|
||||
Texts_Handler handle;
|
||||
char _prvt1[4];
|
||||
} Texts_ElemDesc;
|
||||
|
||||
typedef
|
||||
struct Texts_FileMsg { /* Texts_ElemMsg */
|
||||
int16 id;
|
||||
int32 pos;
|
||||
INT16 id;
|
||||
INT32 pos;
|
||||
Files_Rider r;
|
||||
} Texts_FileMsg;
|
||||
|
||||
|
|
@ -69,13 +69,13 @@ typedef
|
|||
struct Texts_TextDesc *Texts_Text;
|
||||
|
||||
typedef
|
||||
void (*Texts_Notifier)(Texts_Text, int16, int32, int32);
|
||||
void (*Texts_Notifier)(Texts_Text, INT16, INT32, INT32);
|
||||
|
||||
typedef
|
||||
struct Texts_Reader {
|
||||
BOOLEAN eot;
|
||||
Texts_FontsFont fnt;
|
||||
int8 col, voff;
|
||||
INT8 col, voff;
|
||||
Texts_Elem elem;
|
||||
char _prvt0[32];
|
||||
} Texts_Reader;
|
||||
|
|
@ -84,23 +84,23 @@ typedef
|
|||
struct Texts_Scanner { /* Texts_Reader */
|
||||
BOOLEAN eot;
|
||||
Texts_FontsFont fnt;
|
||||
int8 col, voff;
|
||||
INT8 col, voff;
|
||||
Texts_Elem elem;
|
||||
int64 _prvt0;
|
||||
INT64 _prvt0;
|
||||
char _prvt1[24];
|
||||
CHAR nextCh;
|
||||
int16 line, class;
|
||||
int32 i;
|
||||
INT16 line, class;
|
||||
INT32 i;
|
||||
REAL x;
|
||||
LONGREAL y;
|
||||
CHAR c;
|
||||
int8 len;
|
||||
INT8 len;
|
||||
CHAR s[64];
|
||||
} Texts_Scanner;
|
||||
|
||||
typedef
|
||||
struct Texts_TextDesc {
|
||||
int32 len;
|
||||
INT32 len;
|
||||
Texts_Notifier notify;
|
||||
char _prvt0[12];
|
||||
} Texts_TextDesc;
|
||||
|
|
@ -109,64 +109,64 @@ typedef
|
|||
struct Texts_Writer {
|
||||
Texts_Buffer buf;
|
||||
Texts_FontsFont fnt;
|
||||
int8 col, voff;
|
||||
INT8 col, voff;
|
||||
char _prvt0[26];
|
||||
} Texts_Writer;
|
||||
|
||||
|
||||
import Texts_Elem Texts_new;
|
||||
|
||||
import address *Texts_FontDesc__typ;
|
||||
import address *Texts_RunDesc__typ;
|
||||
import address *Texts_ElemMsg__typ;
|
||||
import address *Texts_ElemDesc__typ;
|
||||
import address *Texts_FileMsg__typ;
|
||||
import address *Texts_CopyMsg__typ;
|
||||
import address *Texts_IdentifyMsg__typ;
|
||||
import address *Texts_BufDesc__typ;
|
||||
import address *Texts_TextDesc__typ;
|
||||
import address *Texts_Reader__typ;
|
||||
import address *Texts_Scanner__typ;
|
||||
import address *Texts_Writer__typ;
|
||||
import ADDRESS *Texts_FontDesc__typ;
|
||||
import ADDRESS *Texts_RunDesc__typ;
|
||||
import ADDRESS *Texts_ElemMsg__typ;
|
||||
import ADDRESS *Texts_ElemDesc__typ;
|
||||
import ADDRESS *Texts_FileMsg__typ;
|
||||
import ADDRESS *Texts_CopyMsg__typ;
|
||||
import ADDRESS *Texts_IdentifyMsg__typ;
|
||||
import ADDRESS *Texts_BufDesc__typ;
|
||||
import ADDRESS *Texts_TextDesc__typ;
|
||||
import ADDRESS *Texts_Reader__typ;
|
||||
import ADDRESS *Texts_Scanner__typ;
|
||||
import ADDRESS *Texts_Writer__typ;
|
||||
|
||||
import void Texts_Append (Texts_Text T, Texts_Buffer B);
|
||||
import void Texts_ChangeLooks (Texts_Text T, int32 beg, int32 end, uint32 sel, Texts_FontsFont fnt, int8 col, int8 voff);
|
||||
import void Texts_ChangeLooks (Texts_Text T, INT32 beg, INT32 end, UINT32 sel, Texts_FontsFont fnt, INT8 col, INT8 voff);
|
||||
import void Texts_Close (Texts_Text T, CHAR *name, LONGINT name__len);
|
||||
import void Texts_Copy (Texts_Buffer SB, Texts_Buffer DB);
|
||||
import void Texts_CopyElem (Texts_Elem SE, Texts_Elem DE);
|
||||
import void Texts_Delete (Texts_Text T, int32 beg, int32 end);
|
||||
import void Texts_Delete (Texts_Text T, INT32 beg, INT32 end);
|
||||
import Texts_Text Texts_ElemBase (Texts_Elem E);
|
||||
import int32 Texts_ElemPos (Texts_Elem E);
|
||||
import void Texts_Insert (Texts_Text T, int32 pos, Texts_Buffer B);
|
||||
import void Texts_Load (Files_Rider *r, address *r__typ, Texts_Text T);
|
||||
import INT32 Texts_ElemPos (Texts_Elem E);
|
||||
import void Texts_Insert (Texts_Text T, INT32 pos, Texts_Buffer B);
|
||||
import void Texts_Load (Files_Rider *r, ADDRESS *r__typ, Texts_Text T);
|
||||
import void Texts_Open (Texts_Text T, CHAR *name, LONGINT name__len);
|
||||
import void Texts_OpenBuf (Texts_Buffer B);
|
||||
import void Texts_OpenReader (Texts_Reader *R, address *R__typ, Texts_Text T, int32 pos);
|
||||
import void Texts_OpenScanner (Texts_Scanner *S, address *S__typ, Texts_Text T, int32 pos);
|
||||
import void Texts_OpenWriter (Texts_Writer *W, address *W__typ);
|
||||
import int32 Texts_Pos (Texts_Reader *R, address *R__typ);
|
||||
import void Texts_Read (Texts_Reader *R, address *R__typ, CHAR *ch);
|
||||
import void Texts_ReadElem (Texts_Reader *R, address *R__typ);
|
||||
import void Texts_ReadPrevElem (Texts_Reader *R, address *R__typ);
|
||||
import void Texts_OpenReader (Texts_Reader *R, ADDRESS *R__typ, Texts_Text T, INT32 pos);
|
||||
import void Texts_OpenScanner (Texts_Scanner *S, ADDRESS *S__typ, Texts_Text T, INT32 pos);
|
||||
import void Texts_OpenWriter (Texts_Writer *W, ADDRESS *W__typ);
|
||||
import INT32 Texts_Pos (Texts_Reader *R, ADDRESS *R__typ);
|
||||
import void Texts_Read (Texts_Reader *R, ADDRESS *R__typ, CHAR *ch);
|
||||
import void Texts_ReadElem (Texts_Reader *R, ADDRESS *R__typ);
|
||||
import void Texts_ReadPrevElem (Texts_Reader *R, ADDRESS *R__typ);
|
||||
import void Texts_Recall (Texts_Buffer *B);
|
||||
import void Texts_Save (Texts_Text T, int32 beg, int32 end, Texts_Buffer B);
|
||||
import void Texts_Scan (Texts_Scanner *S, address *S__typ);
|
||||
import void Texts_SetColor (Texts_Writer *W, address *W__typ, int8 col);
|
||||
import void Texts_SetFont (Texts_Writer *W, address *W__typ, Texts_FontsFont fnt);
|
||||
import void Texts_SetOffset (Texts_Writer *W, address *W__typ, int8 voff);
|
||||
import void Texts_Store (Files_Rider *r, address *r__typ, Texts_Text T);
|
||||
import void Texts_Write (Texts_Writer *W, address *W__typ, CHAR ch);
|
||||
import void Texts_WriteDate (Texts_Writer *W, address *W__typ, int32 t, int32 d);
|
||||
import void Texts_WriteElem (Texts_Writer *W, address *W__typ, Texts_Elem e);
|
||||
import void Texts_WriteHex (Texts_Writer *W, address *W__typ, int32 x);
|
||||
import void Texts_WriteInt (Texts_Writer *W, address *W__typ, int64 x, int64 n);
|
||||
import void Texts_WriteLn (Texts_Writer *W, address *W__typ);
|
||||
import void Texts_WriteLongReal (Texts_Writer *W, address *W__typ, LONGREAL x, int16 n);
|
||||
import void Texts_WriteLongRealHex (Texts_Writer *W, address *W__typ, LONGREAL x);
|
||||
import void Texts_WriteReal (Texts_Writer *W, address *W__typ, REAL x, int16 n);
|
||||
import void Texts_WriteRealFix (Texts_Writer *W, address *W__typ, REAL x, int16 n, int16 k);
|
||||
import void Texts_WriteRealHex (Texts_Writer *W, address *W__typ, REAL x);
|
||||
import void Texts_WriteString (Texts_Writer *W, address *W__typ, CHAR *s, LONGINT s__len);
|
||||
import void Texts_Save (Texts_Text T, INT32 beg, INT32 end, Texts_Buffer B);
|
||||
import void Texts_Scan (Texts_Scanner *S, ADDRESS *S__typ);
|
||||
import void Texts_SetColor (Texts_Writer *W, ADDRESS *W__typ, INT8 col);
|
||||
import void Texts_SetFont (Texts_Writer *W, ADDRESS *W__typ, Texts_FontsFont fnt);
|
||||
import void Texts_SetOffset (Texts_Writer *W, ADDRESS *W__typ, INT8 voff);
|
||||
import void Texts_Store (Files_Rider *r, ADDRESS *r__typ, Texts_Text T);
|
||||
import void Texts_Write (Texts_Writer *W, ADDRESS *W__typ, CHAR ch);
|
||||
import void Texts_WriteDate (Texts_Writer *W, ADDRESS *W__typ, INT32 t, INT32 d);
|
||||
import void Texts_WriteElem (Texts_Writer *W, ADDRESS *W__typ, Texts_Elem e);
|
||||
import void Texts_WriteHex (Texts_Writer *W, ADDRESS *W__typ, INT32 x);
|
||||
import void Texts_WriteInt (Texts_Writer *W, ADDRESS *W__typ, INT64 x, INT64 n);
|
||||
import void Texts_WriteLn (Texts_Writer *W, ADDRESS *W__typ);
|
||||
import void Texts_WriteLongReal (Texts_Writer *W, ADDRESS *W__typ, LONGREAL x, INT16 n);
|
||||
import void Texts_WriteLongRealHex (Texts_Writer *W, ADDRESS *W__typ, LONGREAL x);
|
||||
import void Texts_WriteReal (Texts_Writer *W, ADDRESS *W__typ, REAL x, INT16 n);
|
||||
import void Texts_WriteRealFix (Texts_Writer *W, ADDRESS *W__typ, REAL x, INT16 n, INT16 k);
|
||||
import void Texts_WriteRealHex (Texts_Writer *W, ADDRESS *W__typ, REAL x);
|
||||
import void Texts_WriteString (Texts_Writer *W, ADDRESS *W__typ, CHAR *s, LONGINT s__len);
|
||||
import void *Texts__init(void);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue