This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
VOID type?
- To: cgen development <cgen at sources dot redhat dot com>
- Subject: VOID type?
- From: Ben Elliston <bje at redhat dot com>
- Date: Thu, 16 Nov 2000 11:18:25 +1100 (EST)
Hi.
I'd like to propose this addition to the runtime system -- a VOID typedef,
so that from RTL, I can use the "VOID" mode for c-calls and such.
Are there any issues I've not thought of?
Ben
--- cgen-types.h 2000/03/02 09:09:02 1.12
+++ cgen-types.h 2000/11/16 00:16:38
@@ -64,6 +64,7 @@
extern const char *mode_names[];
#define MODE_NAME(m) (mode_names[m])
+typedef void VOID;
typedef unsigned char BI;
typedef signed8 QI;
typedef signed16 HI;