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
b21c4584
Commit
b21c4584
authored
Nov 29, 1991
by
Dennis Glatting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified to implement set functions.
From-SVN: r81
parent
752efdc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
2 deletions
+37
-2
gcc/objc/objc.h
+37
-2
No files found.
gcc/objc/objc.h
View file @
b21c4584
...
...
@@ -19,10 +19,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.
5 1991/11/29 00:24:14
dennisg Exp dennisg $
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.
6 1991/11/29 20:02:01
dennisg Exp dennisg $
$Author: dennisg $
$Date: 1991/11/29
00:24:14
$
$Date: 1991/11/29
20:02:01
$
$Log: ObjC.h,v $
* Revision 0.6 1991/11/29 20:02:01 dennisg
* fixed several const decls. bozo.
*
* 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.
...
...
@@ -57,6 +60,7 @@ extern "C" {
#include <sys/types.h>
#include <hash.h>
#include <stdarg.h>
#define nil ( id )0
/* id of Nil instance */
...
...
@@ -376,6 +380,37 @@ typedef struct objc_super {
Class_t
class
;
/* Object's super class. */
}
Super
,
*
Super_t
;
/*
* _alloc points to the function, called through
* class_createInstance(), used to allocate memory for
* new instances.
*/
extern
id
(
*
_alloc
)(
Class_t
aClass
,
u_int
indexedIvarBytes
);
/*
* _dealloc points to the function, called
* through object_dispose(), used to free instances.
*/
extern
id
(
*
_dealloc
)(
id
aObject
);
/*
* _realloc points to the function, called through
* object_realloc(), used to reallocate memory for an object
*/
extern
id
(
*
_realloc
)(
id
aObject
,
u_int
numBytes
);
/*
* _copy points to the function, called through
* object_copy(), used to create an exact copy of an object.
*/
extern
id
(
*
_copy
)(
id
aObject
,
u_int
indexedIvarBytes
);
/*
* _error points to the function that the run-time
* system calls in response to an error. By default,
* it prints formatted error messages to the standard
* error stream and calls abort() to produce a core file.
*/
extern
void
(
*
_error
)(
id
aObject
,
const
char
*
fmt
,
va_list
ap
);
#ifdef __cplusplus
}
...
...
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