Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
752efdc0
Commit
752efdc0
authored
Nov 29, 1991
by
Dennis Glatting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed several const decls. bozo.
From-SVN: r80
parent
3f2f1813
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
gcc/objc/objc.h
+21
-16
No files found.
gcc/objc/objc.h
View file @
752efdc0
...
@@ -19,10 +19,14 @@
...
@@ -19,10 +19,14 @@
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.
4 1991/11/19 12:37:49
dennisg Exp dennisg $
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.
5 1991/11/29 00:24:14
dennisg Exp dennisg $
$Author: dennisg $
$Author: dennisg $
$Date: 1991/11/
19 12:37:49
$
$Date: 1991/11/
29 00:24:14
$
$Log: ObjC.h,v $
$Log: ObjC.h,v $
* Revision 0.5 1991/11/29 00:24:14 dennisg
* many changes including posing, things to make the compiler
* happier, structure changes, and things to make it play better.
*
* Revision 0.4 1991/11/19 12:37:49 dennisg
* Revision 0.4 1991/11/19 12:37:49 dennisg
* changed typedef and struct decls.
* changed typedef and struct decls.
* the run-time was changed and those decls changed too.
* the run-time was changed and those decls changed too.
...
@@ -179,12 +183,12 @@ typedef struct objc_symtab {
...
@@ -179,12 +183,12 @@ typedef struct objc_symtab {
* module structure of the executable.
* module structure of the executable.
*/
*/
typedef
struct
objc_module
{
typedef
struct
objc_module
{
u_long
version
;
/* Compiler revision. */
u_long
version
;
/* Compiler revision. */
u_long
size
;
/* sizeof(Module). */
u_long
size
;
/* sizeof(Module). */
c
har
*
name
;
/* Name of the file where the
c
onst
char
*
name
;
/* Name of the file where the
module was generated. The
module was generated. The
name includes the path. */
name includes the path. */
Symtab_t
symtab
;
/* Pointer to the Symtab of
Symtab_t
symtab
;
/* Pointer to the Symtab of
the module. The Symtab
the module. The Symtab
holds an array of pointers to
holds an array of pointers to
the classes and categories
the classes and categories
...
@@ -205,13 +209,13 @@ typedef struct objc_ivar_list {
...
@@ -205,13 +209,13 @@ typedef struct objc_ivar_list {
variable defined in the
variable defined in the
class. */
class. */
struct
objc_ivar
{
struct
objc_ivar
{
c
har
*
ivar_name
;
/* Name of the instance
c
onst
char
*
ivar_name
;
/* Name of the instance
variable as entered in the
variable as entered in the
class definition. */
class definition. */
c
har
*
ivar_type
;
/* Description of the Ivar's
c
onst
char
*
ivar_type
;
/* Description of the Ivar's
type. Useful for
type. Useful for
debuggers. */
debuggers. */
int
ivar_offset
;
/* Byte offset from the base
int
ivar_offset
;
/* Byte offset from the base
address of the instance
address of the instance
structure to the variable. */
structure to the variable. */
...
@@ -237,16 +241,16 @@ typedef struct objc_method_list {
...
@@ -237,16 +241,16 @@ typedef struct objc_method_list {
int
method_count
;
/* Number of methods defined in
int
method_count
;
/* Number of methods defined in
this structure. */
this structure. */
struct
objc_method
{
struct
objc_method
{
SEL
method_name
;
/* This variable is the method's
SEL
method_name
;
/* This variable is the method's
name. It is a char*.
name. It is a char*.
The unique integer passed to
The unique integer passed to
objc_msgSend() is a char* too.
objc_msgSend() is a char* too.
It is compared against
It is compared against
method_name using strcmp(). */
method_name using strcmp(). */
c
har
*
method_types
;
/* Description of the method's
c
onst
char
*
method_types
;
/* Description of the method's
parameter list. Useful for
parameter list. Useful for
debuggers. */
debuggers. */
IMP
method_imp
;
/* Address of the method in the
IMP
method_imp
;
/* Address of the method in the
executable. */
executable. */
}
method_list
[
1
];
/* Variable length
}
method_list
[
1
];
/* Variable length
structure. */
structure. */
...
@@ -275,7 +279,7 @@ typedef struct objc_metaClass {
...
@@ -275,7 +279,7 @@ typedef struct objc_metaClass {
struct
objc_metaClass
*
super_class
;
/* Pointer to meta class's
struct
objc_metaClass
*
super_class
;
/* Pointer to meta class's
super class. NULL for
super class. NULL for
Object. */
Object. */
c
har
*
name
;
/* Name of the meta class. */
c
onst
char
*
name
;
/* Name of the meta class. */
long
version
;
/* Unknown. */
long
version
;
/* Unknown. */
long
info
;
/* Bit mask. See class masks
long
info
;
/* Bit mask. See class masks
defined above. */
defined above. */
...
@@ -312,7 +316,7 @@ typedef struct objc_class {
...
@@ -312,7 +316,7 @@ typedef struct objc_class {
struct
objc_class
*
super_class
;
/* Pointer to the super
struct
objc_class
*
super_class
;
/* Pointer to the super
class. NULL for class
class. NULL for class
Object. */
Object. */
c
har
*
name
;
/* Name of the class. */
c
onst
char
*
name
;
/* Name of the class. */
long
version
;
/* Unknown. */
long
version
;
/* Unknown. */
long
info
;
/* Bit mask. See class masks
long
info
;
/* Bit mask. See class masks
defined above. */
defined above. */
...
@@ -345,10 +349,10 @@ typedef struct objc_class {
...
@@ -345,10 +349,10 @@ typedef struct objc_class {
* factory methods.
* factory methods.
*/
*/
typedef
struct
objc_category
{
typedef
struct
objc_category
{
c
har
*
category_name
;
/* Name of the category. Name
c
onst
char
*
category_name
;
/* Name of the category. Name
contained in the () of the
contained in the () of the
category definition. */
category definition. */
c
har
*
class_name
;
/* Name of the class to which
c
onst
char
*
class_name
;
/* Name of the class to which
the category belongs. */
the category belongs. */
MethodList_t
instance_methods
;
/* Linked list of instance
MethodList_t
instance_methods
;
/* Linked list of instance
methods defined in the
methods defined in the
...
@@ -377,4 +381,5 @@ typedef struct objc_super {
...
@@ -377,4 +381,5 @@ typedef struct objc_super {
}
}
#endif
#endif
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment