diff options
author | obrien <obrien@FreeBSD.org> | 1999-08-26 09:30:50 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-08-26 09:30:50 +0000 |
commit | 0bedf4fb30066e5e1d4342a1d3914dae7d37cba7 (patch) | |
tree | 68d8110b41afd0ebbf39167b1a4918eea667a7c5 /contrib/gcc/objc/objc.h | |
parent | d4db5fb866b7ad5216abd5047774a3973b9901a9 (diff) | |
download | FreeBSD-src-0bedf4fb30066e5e1d4342a1d3914dae7d37cba7.zip FreeBSD-src-0bedf4fb30066e5e1d4342a1d3914dae7d37cba7.tar.gz |
Virgin import of gcc from EGCS 1.1.2
Diffstat (limited to 'contrib/gcc/objc/objc.h')
-rw-r--r-- | contrib/gcc/objc/objc.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/gcc/objc/objc.h b/contrib/gcc/objc/objc.h index 979c5c8..e48b0fd 100644 --- a/contrib/gcc/objc/objc.h +++ b/contrib/gcc/objc/objc.h @@ -1,5 +1,5 @@ /* Basic data types for Objective C. - Copyright (C) 1993, 1995 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,7 +36,11 @@ extern "C" { /* ** Definition of the boolean type. */ +#ifdef __vxworks +typedef int BOOL; +#else typedef unsigned char BOOL; +#endif #define YES (BOOL)1 #define NO (BOOL)0 @@ -103,9 +107,9 @@ struct objc_class { unsigned long info; /* Bit mask. See class masks defined above. */ long instance_size; /* Size in bytes of the class. - The sum of the class definition - and all super class - definitions. */ + The sum of the class + definition and all super + class definitions. */ struct objc_ivar_list* ivars; /* Pointer to a structure that describes the instance variables in the class |