mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ... * objc-private/common.h (DEBUG_PRINTF): To here. * hash.c: Do not include objc-private/runtime.h and objc/thr.h. From-SVN: r168111
This commit is contained in:
parent
57d75eebe2
commit
9c68c0e598
@ -1,3 +1,9 @@
|
||||
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
|
||||
* objc-private/common.h (DEBUG_PRINTF): To here.
|
||||
* hash.c: Do not include objc-private/runtime.h and objc/thr.h.
|
||||
|
||||
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* hash.c: Tidied up comments and indentation. No code changes.
|
||||
|
@ -26,9 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include <assert.h> /* For assert. */
|
||||
|
||||
#include "objc/runtime.h" /* For objc_calloc. */
|
||||
#include "objc/thr.h" /* Required by objc-private/runtime.h. */
|
||||
#include "objc-private/hash.h"
|
||||
#include "objc-private/runtime.h" /* for DEBUG_PRINTF. */
|
||||
|
||||
/* These two macros determine when a hash table is full and
|
||||
by how much it should be expanded respectively.
|
||||
|
@ -26,13 +26,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#define __objc_private_common_INCLUDE_GNU
|
||||
|
||||
/* This file contains definitions that should be included by all .c
|
||||
and .m files in libobjc.
|
||||
*/
|
||||
and .m files in libobjc. */
|
||||
|
||||
/* This variable allows the public headers to determine when they are
|
||||
being included by a file inside libobjc itself, or when they are
|
||||
being included by an external file.
|
||||
*/
|
||||
being included by an external file. */
|
||||
#define GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF 1
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_PRINTF(format, args...) printf (format, ## args)
|
||||
#else
|
||||
#define DEBUG_PRINTF(format, args...)
|
||||
#endif
|
||||
|
||||
#endif /* __objc_private_common_INCLUDE_GNU */
|
||||
|
@ -77,12 +77,6 @@ extern objc_mutex_t __objc_runtime_mutex;
|
||||
/* Number of threads which are alive. */
|
||||
extern int __objc_runtime_threads_alive;
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_PRINTF(format, args...) printf (format, ## args)
|
||||
#else
|
||||
#define DEBUG_PRINTF(format, args...)
|
||||
#endif
|
||||
|
||||
BOOL __objc_responds_to (id object, SEL sel); /* for internal use only! */
|
||||
extern void __objc_generate_gc_type_description (Class);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user