use macros for version numbers
This commit is contained in:
parent
46cd3dab3b
commit
5eb29e2c4f
@ -1,6 +1,6 @@
|
||||
Tue Jul 21 13:12:13 1998 Doug Evans <devans@seba.cygnus.com>
|
||||
|
||||
* cgen.h (cgen_version_{major,minor,fixlevel}): Declare.
|
||||
* cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Define.
|
||||
(cgen_insert_fn,cgen_extract_fn): New arg `pc'.
|
||||
(get_operand,put_operand): Replaced with get_{int,vma}_operand,
|
||||
set_{int,vma}_operand.
|
||||
|
@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#ifndef CGEN_H
|
||||
#define CGEN_H
|
||||
|
||||
/* Version information. */
|
||||
#define CGEN_VERSION_MAJOR 0
|
||||
#define CGEN_VERSION_MINOR 6
|
||||
#define CGEN_VERSION_FIXLEVEL 0
|
||||
|
||||
/* Prepend the arch name, defined in <arch>-opc.h, and _cgen_ to symbol S.
|
||||
The lack of spaces in the arg list is important for non-stdc systems.
|
||||
This file is included by <arch>-opc.h.
|
||||
@ -67,11 +72,6 @@ enum cgen_endian
|
||||
CGEN_ENDIAN_BIG
|
||||
};
|
||||
|
||||
/* Version information. */
|
||||
extern const int cgen_version_major;
|
||||
extern const int cgen_version_minor;
|
||||
extern const int cgen_version_fixlevel;
|
||||
|
||||
/* Forward decl. */
|
||||
typedef struct cgen_insn CGEN_INSN;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user