mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
Add bootstrap and master make files.
This commit is contained in:
parent
be80ad7ae3
commit
43c5f44c10
212 changed files with 97056 additions and 0 deletions
54
bootstrap/windows-48/Modules.h
Normal file
54
bootstrap/windows-48/Modules.h
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/* voc 1.2 [2016/06/15] for gcc LP64 on cygwin xtspkaSfF */
|
||||
|
||||
#ifndef Modules__h
|
||||
#define Modules__h
|
||||
|
||||
#include "SYSTEM.h"
|
||||
|
||||
typedef
|
||||
struct Modules_CmdDesc *Modules_Cmd;
|
||||
|
||||
typedef
|
||||
void (*Modules_Command)(void);
|
||||
|
||||
typedef
|
||||
struct Modules_CmdDesc {
|
||||
Modules_Cmd next;
|
||||
CHAR name[24];
|
||||
Modules_Command cmd;
|
||||
} Modules_CmdDesc;
|
||||
|
||||
typedef
|
||||
struct Modules_ModuleDesc *Modules_Module;
|
||||
|
||||
typedef
|
||||
CHAR Modules_ModuleName[20];
|
||||
|
||||
typedef
|
||||
struct Modules_ModuleDesc {
|
||||
Modules_Module next;
|
||||
Modules_ModuleName name;
|
||||
LONGINT refcnt;
|
||||
Modules_Cmd cmds;
|
||||
LONGINT types;
|
||||
void (*enumPtrs)(void(*)(LONGINT));
|
||||
char _prvt0[8];
|
||||
} Modules_ModuleDesc;
|
||||
|
||||
|
||||
import INTEGER Modules_res;
|
||||
import CHAR Modules_resMsg[256];
|
||||
import Modules_ModuleName Modules_imported, Modules_importing;
|
||||
|
||||
import LONGINT *Modules_ModuleDesc__typ;
|
||||
import LONGINT *Modules_CmdDesc__typ;
|
||||
|
||||
import void Modules_Free (CHAR *name, LONGINT name__len, BOOLEAN all);
|
||||
import Modules_Command Modules_ThisCommand (Modules_Module mod, CHAR *name, LONGINT name__len);
|
||||
import Modules_Module Modules_ThisMod (CHAR *name, LONGINT name__len);
|
||||
import void *Modules__init(void);
|
||||
|
||||
#define Modules_modules() (Modules_Module)Heap_modules
|
||||
#define Modules_setmodules(m) Heap_modules = m
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue