Commit Graph

19 Commits

Author SHA1 Message Date
Ovidiu Predescu
d8bb17c8e3 Boehm GC support for ObjC from Ovidiu Predescu.
From-SVN: r22199
1998-09-02 17:48:01 -06:00
Richard Kenner
7e46250027 (objc_verror): New function.
(objc_fatal): Remove function.
(objc_set_error_handler): New function.
(_objc_error_handler): New global variable.
(__alpha__): Remove unneeded code.
(objc_error): Allow user specified error handler function to trap and
handle the objc error.  Added an error code parameter which indicates
the specific error that occured.
(objc_malloc, objc_atomic_malloc): Replace call to objc_fatal function
with call to objc_error function.
(objc_valloc, objc_realloc, objc_calloc): Likewise.

From-SVN: r13589
1997-02-02 19:41:03 -05:00
Richard Kenner
6fceaa5f5b (stdlib.h): Define __USE_FIXED_PROTOTYPES__ before including stdlib.h.
From-SVN: r13250
1996-12-07 18:58:28 -05:00
Richard Kenner
79236a0da5 (objc_malloc): Renamed from __objc_xmalloc.
(objc_realloc): Renamed from __objc_realloc.
(objc_atomic_malloc): New function.
(objc_valloc): New function.
(objc_calloc): Renamed from __objc_calloc.
(objc_free): New function.

From-SVN: r12763
1996-09-22 10:35:45 -04:00
Richard Kenner
84c09f78a1 Update FSF address.
From-SVN: r9970
1995-06-15 08:44:04 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Richard Kenner
ac6b994fe0 Put Alpha-specific decls before #include of runtime.h.
From-SVN: r9212
1995-03-20 08:03:42 -05:00
Richard Kenner
8be3ef7d1d (__objc_xcalloc): Use calloc instead malloc/bzero.
From-SVN: r8357
1994-10-28 19:13:10 -04:00
Kresten Krab Thorup
15408e26c2 removed declaration of bzero
From-SVN: r7805
1994-07-28 16:56:52 +00:00
Kresten Krab Thorup
a39d31bc0c This patch makes selectors in the Objective-C language be pointers to a struct { void *sel_id...
This patch makes selectors in the Objective-C language be pointers
        to a struct { void *sel_id, char *sel_types }, where the sel_types
        element is the type encoding of the method arguments.

From-SVN: r7622
1994-06-30 16:18:55 +00:00
Kresten Krab Thorup
90a0448559 undid freed+error patch
From-SVN: r4336
1993-05-05 15:52:00 +00:00
Kresten Krab Thorup
4665616f99 (__objc_add_handler, __objc_remove_handler,
__objc_raise_error): New functions.
(__ex_last_handler): New variable

From-SVN: r4333
1993-05-05 13:52:15 +00:00
Kresten Krab Thorup
991d3e71ce Headerfiles reorganized
From-SVN: r4329
1993-05-05 08:13:15 +00:00
Kresten Krab Thorup
65e1be69ba Uninstalled argframe macros
From-SVN: r4270
1993-04-29 07:06:18 +00:00
Kresten Krab Thorup
d5247e3ea2 Changed to use argframe macros
From-SVN: r4253
1993-04-27 20:36:53 +00:00
Kresten Krab Thorup
d0b575120e Definition of (Meta)Class_t eliminated, using Class*
From-SVN: r4244
1993-04-27 07:41:50 +00:00
Kresten Krab Thorup
a7ab3794a9 Runtime portability cleanup
From-SVN: r4235
1993-04-26 16:06:37 +00:00
Kresten Krab Thorup
36be30f1bc includes changed to double quote style
From-SVN: r4113
1993-04-13 02:12:40 +00:00
Tom Wood
c72fc2d9d9 Initial revision
From-SVN: r4077
1993-04-10 01:05:19 +00:00