aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-12-19 18:13:28 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-12-19 18:13:28 +0000
commitf94e723ba7b77e4e98740d048634e461187cd486 (patch)
tree7ba0bf6f83704613ca400a715f45edce06012179 /libobjc
parentd9df33650fd67916bd401de643714bba9a4283b5 (diff)
downloadgcc-f94e723ba7b77e4e98740d048634e461187cd486.zip
gcc-f94e723ba7b77e4e98740d048634e461187cd486.tar.gz
gcc-f94e723ba7b77e4e98740d048634e461187cd486.tar.bz2
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/runtime.h (__objc_selector_max_index, __objc_init_selector_tables, __objc_register_selectors_from_class, __objc_register_selectors_from_list, __objc_register_selectors_from_description_list): Moved to ... * objc-private/selector.h: ... here. From-SVN: r168067
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog8
-rw-r--r--libobjc/objc-private/runtime.h8
-rw-r--r--libobjc/objc-private/selector.h12
3 files changed, 20 insertions, 8 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 44d0ad6..e9bfedb 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,5 +1,13 @@
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
+ * objc-private/runtime.h (__objc_selector_max_index,
+ __objc_init_selector_tables, __objc_register_selectors_from_class,
+ __objc_register_selectors_from_list,
+ __objc_register_selectors_from_description_list): Moved to ...
+ * objc-private/selector.h: ... here.
+
+2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
+
* objc-private/runtime.h (__objc_class_links_resolved): Removed.
(__objc_print_dtable_stats): Removed.
(__sel_register_typed_name): Removed.
diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h
index 30417f1..ba01f57 100644
--- a/libobjc/objc-private/runtime.h
+++ b/libobjc/objc-private/runtime.h
@@ -53,15 +53,10 @@ 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) */
extern void __objc_init_class_tables(void); /* (objc-class.c) */
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 (struct objc_method_list *); /* (selector.c) */
-extern void __objc_register_selectors_from_description_list
-(struct objc_method_description_list *method_list); /* (selector.c) */
extern void __objc_update_dispatch_table_for_class (Class);/* (objc-msg.c) */
extern int __objc_init_thread_system(void); /* thread.c */
@@ -76,9 +71,6 @@ extern struct objc_method * search_for_method_in_list(struct objc_method_list *
extern void
__objc_update_classes_with_methods (struct objc_method *method_a, struct objc_method *method_b); /* class.c */
-/* Number of selectors stored in each of the selector tables */
-extern unsigned int __objc_selector_max_index;
-
/* Mutex locking __objc_selector_max_index and its arrays. */
extern objc_mutex_t __objc_runtime_mutex;
diff --git a/libobjc/objc-private/selector.h b/libobjc/objc-private/selector.h
index 0022895..66413a9 100644
--- a/libobjc/objc-private/selector.h
+++ b/libobjc/objc-private/selector.h
@@ -32,6 +32,18 @@ extern "C" {
/* Private runtime functions that may go away or be rewritten or
replaced. */
+/* Number of selectors stored in each of the selector tables. */
+extern unsigned int __objc_selector_max_index;
+
+/* Initialize the selector tables. This must be called by init.c. */
+void __objc_init_selector_tables(void);
+
+/* Various private functions to register selectors. */
+void __objc_register_selectors_from_class(Class);
+void __objc_register_selectors_from_list (struct objc_method_list *);
+void __objc_register_selectors_from_description_list
+(struct objc_method_description_list *method_list);
+
/* Return whether a selector is mapped or not ("mapped" meaning that
it has been inserted into the selector table). This is private as
only the runtime should ever encounter or need to know about