Commit 1af5b8f5 by Nicola Pero Committed by Nicola Pero

In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>

In libobjc/:
2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>

	* init.c: Include objc-private/selector.h.  Do not declare
	__sel_register_typed_name.
	* objc-private/selector.h (__sel_register_typed_name): Declare.
	* selector.c: Include objc-private/selector.h.

From-SVN: r168039
parent 006d303e
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Include objc-private/selector.h. Do not declare
__sel_register_typed_name.
* objc-private/selector.h (__sel_register_typed_name): Declare.
* selector.c: Include objc-private/selector.h.
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c: Tidied up comments and indentation. No code changes. * class.c: Tidied up comments and indentation. No code changes.
......
...@@ -32,6 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -32,6 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc-private/objc-list.h" #include "objc-private/objc-list.h"
#include "objc-private/module-abi-8.h" #include "objc-private/module-abi-8.h"
#include "objc-private/runtime.h" #include "objc-private/runtime.h"
#include "objc-private/selector.h" /* For __sel_register_typed_name(). */
#include "objc-private/objc-sync.h" /* For __objc_sync_init() */ #include "objc-private/objc-sync.h" /* For __objc_sync_init() */
#include "objc-private/protocols.h" /* For __objc_protocols_init(), #include "objc-private/protocols.h" /* For __objc_protocols_init(),
__objc_protocols_add_protocol() __objc_protocols_add_protocol()
...@@ -92,11 +93,6 @@ void (*_objc_load_callback) (Class class, struct objc_category *category); /* !T ...@@ -92,11 +93,6 @@ void (*_objc_load_callback) (Class class, struct objc_category *category); /* !T
/* Are all categories/classes resolved? */ /* Are all categories/classes resolved? */
BOOL __objc_dangling_categories = NO; /* !T:UNUSED */ BOOL __objc_dangling_categories = NO; /* !T:UNUSED */
/* TODO: This needs to go into objc-private/selector.h. */
extern SEL
__sel_register_typed_name (const char *name, const char *types,
struct objc_selector *orig, BOOL is_const);
/* Sends +load to all classes and categories in certain /* Sends +load to all classes and categories in certain
situations. */ situations. */
static void objc_send_load (void); static void objc_send_load (void);
......
...@@ -45,6 +45,10 @@ BOOL sel_is_mapped (SEL aSel); ...@@ -45,6 +45,10 @@ BOOL sel_is_mapped (SEL aSel);
SEL SEL
sel_get_any_uid (const char *name); sel_get_any_uid (const char *name);
SEL
__sel_register_typed_name (const char *name, const char *types,
struct objc_selector *orig, BOOL is_const);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
......
...@@ -30,6 +30,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -30,6 +30,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc-private/module-abi-8.h" #include "objc-private/module-abi-8.h"
#include "objc-private/runtime.h" #include "objc-private/runtime.h"
#include "objc-private/sarray.h" #include "objc-private/sarray.h"
#include "objc-private/selector.h"
/* Initial selector hash table size. Value doesn't matter much. */ /* Initial selector hash table size. Value doesn't matter much. */
#define SELECTOR_HASH_SIZE 128 #define SELECTOR_HASH_SIZE 128
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment