OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [FT64v5/] [software/] [AS64/] [source/] [types.h] - Blame information for rev 48

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 48 robfinch
#ifndef _TYPES_H
2
#define _TYPES_H
3
 
4
class Arg
5
{
6
public:
7
        char text[120];
8
public:
9
        void Get();
10
        void Clear();
11
};
12
 
13
class Arglist
14
{
15
public:
16
        int count;
17
        Arg args[10];
18
public:
19
        void Get();
20
};
21
 
22
class Macro
23
{
24
public:
25
        static int inst;
26
        char *body;     // template for macro body
27
public:
28
        char *SubArgs(Arglist *args);
29
        char *GetArg();
30
        char *GetBody(char *parmlist[]);
31
        int GetParmList(char *[]);
32
        void Substitute(char *, int);
33
};
34
 
35
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.