This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Patch] cgen::VOID type


I am committing the following patch under the obvious fix rule.  It
might not be an obvious fix, but it was already agreed to incorporate
such a typedef into the old sim/common simulator framework.  This
typedef makes c-calls from cgen into sid more syntactically
consistent.

Ben


2001-05-23  Ben Elliston  <bje@redhat.com>

	* cgen-types.h (cgen::VOID): Typedef for void.

Index: cgen-types.h
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/component/cgen-cpu/cgen-types.h,v
retrieving revision 1.8
diff -u -c -r1.8 cgen-types.h
*** cgen-types.h	2000/12/01 16:32:36	1.8
--- cgen-types.h	2001/05/23 11:02:19
***************
*** 12,17 ****
--- 12,18 ----
  // Modes.
  
  typedef bool BI;
+ typedef void VOID;
  
  typedef sid::signed_host_int_1 QI;
  typedef sid::signed_host_int_2 HI;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]