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
ff942a98
Commit
ff942a98
authored
Jan 24, 1994
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#ifdef out uses of TypedStream for the alpha, not supported yet.
From-SVN: r6426
parent
a0a74fda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
gcc/objc/Object.h
+4
-0
gcc/objc/Object.m
+6
-2
No files found.
gcc/objc/Object.h
View file @
ff942a98
...
...
@@ -112,10 +112,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Archiving */
+
(
int
)
version
;
+
+
setVersion
:(
int
)
aVersion
;
#ifndef __alpha__
/* TypedStream not supported on alpha yet. */
+
(
int
)
streamVersion
:
(
TypedStream
*
)
aStream
;
-
-
read
:
(
TypedStream
*
)
aStream
;
-
-
write
:
(
TypedStream
*
)
aStream
;
#endif
-
-
awake
;
@end
...
...
gcc/objc/Object.m
View file @
ff942a98
...
...
@@ -339,15 +339,15 @@ extern int errno;
return
self
;
}
#ifndef __alpha__
/* TypedStream not supported on alpha yet. */
+
(
int
)
streamVersion
:
(
TypedStream
*
)
aStream
{
#ifndef __alpha__
if
(
aStream
->
mode
==
OBJC_READONLY
)
return
objc_get_stream_class_version
(
aStream
,
self
);
else
#endif
return
class_get_version
(
self
);
}
#endif
// These are used to write or read the instance variables
// declared in this particular part of the object. Subclasses
...
...
@@ -355,17 +355,21 @@ extern int errno;
// before doing their own archiving. These methods are private, in
// the sense that they should only be called from subclasses.
#ifndef __alpha__
-
read
:
(
TypedStream
*
)
aStream
{
// [super read: aStream];
return
self
;
}
#endif
#ifndef __alpha__
-
write
:
(
TypedStream
*
)
aStream
{
// [super write: aStream];
return
self
;
}
#endif
-
awake
{
...
...
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