summaryrefslogtreecommitdiffstats
path: root/contrib/libobjc/objc/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libobjc/objc/runtime.h')
-rw-r--r--contrib/libobjc/objc/runtime.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/contrib/libobjc/objc/runtime.h b/contrib/libobjc/objc/runtime.h
index 72e79be..3582d1d 100644
--- a/contrib/libobjc/objc/runtime.h
+++ b/contrib/libobjc/objc/runtime.h
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime internal declarations
- Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1997, 2002, 2004 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GCC.
@@ -15,7 +15,7 @@ details.
You should have received a copy of the GNU General Public License along with
GCC; see the file COPYING. If not, write to the Free Software
-Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
/* As a special exception, if you link this library with files compiled with
GCC to produce an executable, this does not cause the resulting executable
@@ -32,15 +32,19 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <ctype.h>
#include <stddef.h> /* so noone else will get system versions */
-#include "assert.h"
+#include <assert.h>
-#include "objc/objc.h" /* core data types */
-#include "objc/objc-api.h" /* runtime api functions */
+#include "objc.h" /* core data types */
+#include "objc-api.h" /* runtime api functions */
-#include "objc/thr.h" /* thread and mutex support */
+#include "thr.h" /* thread and mutex support */
-#include "objc/hash.h" /* hash structures */
-#include "objc/objc-list.h" /* linear lists */
+#include "hash.h" /* hash structures */
+#include "objc-list.h" /* linear lists */
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
extern void __objc_add_class_to_hash(Class); /* (objc-class.c) */
extern void __objc_init_selector_tables(void); /* (objc-sel.c) */
@@ -49,6 +53,7 @@ extern void __objc_init_dispatch_tables(void); /* (objc-dispatch.c) */
extern void __objc_install_premature_dtable(Class); /* (objc-dispatch.c) */
extern void __objc_resolve_class_links(void); /* (objc-class.c) */
extern void __objc_register_selectors_from_class(Class); /* (objc-sel.c) */
+extern void __objc_register_selectors_from_list (MethodList_t); /* (selector.c) */
extern void __objc_update_dispatch_table_for_class (Class);/* (objc-msg.c) */
extern int __objc_init_thread_system(void); /* thread.c */
@@ -84,6 +89,8 @@ SEL __sel_register_typed_name (const char*, const char*,
struct objc_selector*, BOOL is_const);
extern void __objc_generate_gc_type_description (Class);
-#endif /* not __objc_runtime_INCLUDE_GNU */
-
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* not __objc_runtime_INCLUDE_GNU */
OpenPOWER on IntegriCloud