mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.10.2t30
This commit is contained in:
37
label.h
Normal file
37
label.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (c) 1993 David I. Bell
|
||||
* Permission is granted to use, distribute, or modify this source,
|
||||
* provided that this copyright notice remains intact.
|
||||
*/
|
||||
|
||||
#ifndef LABEL_H
|
||||
#define LABEL_H
|
||||
|
||||
|
||||
#include "zmath.h"
|
||||
|
||||
|
||||
#define NULL_LABEL ((LABEL *) 0)
|
||||
|
||||
|
||||
/*
|
||||
* Label structures.
|
||||
*/
|
||||
typedef struct {
|
||||
long l_offset; /* offset into code of label */
|
||||
long l_chain; /* offset into code of undefined chain */
|
||||
char *l_name; /* name of label if any */
|
||||
} LABEL;
|
||||
|
||||
|
||||
extern void initlabels(void);
|
||||
extern void definelabel(char *name);
|
||||
extern void addlabel(char *name);
|
||||
extern void clearlabel(LABEL *lp);
|
||||
extern void setlabel(LABEL *lp);
|
||||
extern void uselabel(LABEL *lp);
|
||||
extern void checklabels(void);
|
||||
|
||||
#endif
|
||||
|
||||
/* END CODE */
|
Reference in New Issue
Block a user