mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Add the NSDebugEnabled boolean
This commit is contained in:
parent
0950bed43b
commit
7525d942b7
3 changed files with 8 additions and 1 deletions
|
@ -104,6 +104,13 @@ extern "C" {
|
|||
* GSDebugAllocationListRecordedObjects()
|
||||
* GSDebugAllocationTagRecordedObject()
|
||||
*/
|
||||
|
||||
/**
|
||||
* A global variable that you can use to enable debug behaviour in
|
||||
* your program.
|
||||
*/
|
||||
extern BOOL NSDebugEnabled;
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
/**
|
||||
|
|
1
MISSING
1
MISSING
|
@ -136,7 +136,6 @@ NSDebug:
|
|||
NSObjectInternalRefIncrementedEvent
|
||||
NSObjectInternalRefDecrementedEvent
|
||||
|
||||
NSDebugEnabled
|
||||
NSKeepAllocationStatistics
|
||||
|
||||
NSIsFreedObject()
|
||||
|
|
|
@ -92,6 +92,7 @@ static table_entry* the_table = 0;
|
|||
|
||||
static BOOL debug_allocation = NO;
|
||||
static BOOL debug_byte_size = NO;
|
||||
BOOL NSDebugEnabled = NO;
|
||||
|
||||
static gs_mutex_t uniqueLock;
|
||||
|
||||
|
|
Loading…
Reference in a new issue