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
bc957254
Commit
bc957254
authored
Dec 26, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor typographical changes.
From-SVN: r2913
parent
8b70e6ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
gcc/objc/objc.h
+8
-9
No files found.
gcc/objc/objc.h
View file @
bc957254
...
...
@@ -34,26 +34,25 @@ extern "C" {
#endif
#include "record.h"
/* This duplicates the beginning of object.h.
Except that we use Class_t for a pointer, whereas it uses Class. */
#define nil (id)0
/* id of Nil instance */
#define Nil (Class_t)0
/* id of Nil class */
typedef
char
*
STR
;
/* String alias */
typedef
char
*
STR
;
/* String alias */
/* Boolean typedefs */
typedef
char
BOOL
;
#define YES (BOOL)1
#define NO (BOOL)0
/* Definition of a selector. Selectors are really of type char*. The
run-time hashes the string's address to locate the method. If the
method isn't in the hash table then a search is made through the
class hierarchy using strcmp to locate the method. */
#if 0
typedef struct objc_selector* SEL;
#else
typedef
void
*
SEL
;
#endif
typedef
void
*
SEL
;
/* ObjC uses this typedef for untyped instances. */
...
...
@@ -62,8 +61,8 @@ typedef struct objc_object {
}
*
id
;
/* Prototype for method functions. */
typedef
id
(
*
IMP
)(
id
,
SEL
,
...);
typedef
id
(
*
IMP
)(
id
,
SEL
,
...);
/* Filer types used to describe Ivars and Methods. */
#define _C_ID '@'
#define _C_CLASS '#'
...
...
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