12345678910111213141516171819202122232425262728293031 |
- #ifndef UTIL_NCGG_SUBR_H
- #define UTIL_NCGG_SUBR_H
- #include "varinfo.h"
- #include "instruct.h"
- /* util/ncgg/subr.c */
- void n_proc(char *name);
- struct varinfo *make_erase(char *name);
- void n_instr(char *name, char *asname, operand *oplist, struct varinfo *eraselist, struct varinfo *cost);
- void n_set(char *name, int number);
- void n_tok(char *name, struct varinfo *atts, int size, struct varinfo *cost, struct varinfo *format);
- void checkprintformat(int n);
- void n_prop(char *name, int size);
- void prophall(int n);
- int n_reg(char *name, char *printstring, int nmemb, int member1, int member2);
- void make_const(void);
- int cmustbeset(char *ident);
- void n_const(char *ident, int val);
- void n_sconst(char *ident, char *val);
- void regline(varinfo *rl, varinfo *pl, int rv);
- void setallreg(struct varinfo *vi);
- void freevi(struct varinfo *vip);
- int myatoi(char *s);
- char *mystrcpy(char *s);
- char *myalloc(int n);
- int chkincl(int value, int lwb, int upb);
- int subset(short *sp1, short *sp2, int setsize);
- int vilength(struct varinfo *vip);
- #endif /* UTIL_NCGG_SUBR_H */
|