mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Remove underscores from front of objc_mutex types.
([NSObject -error:]): Use objc_verror(), not _objc_error. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1736 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3eb6548677
commit
4adb83aab0
1 changed files with 4 additions and 5 deletions
|
@ -34,8 +34,6 @@
|
|||
#include <Foundation/NSException.h>
|
||||
#include <limits.h>
|
||||
|
||||
extern void (*_objc_error)(id object, const char *format, va_list);
|
||||
|
||||
|
||||
/* Reference count management */
|
||||
|
||||
|
@ -45,10 +43,10 @@ extern void (*_objc_error)(id object, const char *format, va_list);
|
|||
/* The maptable of retain counts on objects */
|
||||
static o_map_t *retain_counts = NULL;
|
||||
/* The mutex lock to protect multi-threaded use of `retain_counts' */
|
||||
static _objc_mutex_t retain_counts_gate = NULL;
|
||||
static objc_mutex_t retain_counts_gate = NULL;
|
||||
|
||||
/* The mutex lock to protect RETAIN_COUNTS. */
|
||||
static _objc_mutex_t retain_counts_gate;
|
||||
static objc_mutex_t retain_counts_gate;
|
||||
|
||||
/* The Class responsible for handling autorelease's. This does not
|
||||
need mutex protection, since it is simply a pointer that gets read
|
||||
|
@ -491,7 +489,8 @@ NSDecrementExtraRefCountWasZero (id anObject)
|
|||
object_is_instance(self)?"instance":"class",
|
||||
(aString!=NULL)?aString:"");
|
||||
va_start(ap, aString);
|
||||
(*_objc_error)(self, fmt, ap);
|
||||
/* xxx What should `code' argument be? Current 0. */
|
||||
objc_verror (self, 0, fmt, ap);
|
||||
va_end(ap);
|
||||
return nil;
|
||||
#undef FMT
|
||||
|
|
Loading…
Reference in a new issue