mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Renamed -sanity to -_sanity, and always compile it for the benefit of
testcases git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13424 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d1601e3d2
commit
f205a81fa2
1 changed files with 9 additions and 6 deletions
|
@ -522,9 +522,15 @@ _attributesAtIndexEffectiveRange(
|
|||
|
||||
#if SANITY_CHECKS
|
||||
|
||||
#define SANITY() [self sanity]
|
||||
|
||||
- (void) sanity
|
||||
#define SANITY() [self _sanity]
|
||||
|
||||
#else
|
||||
#define SANITY()
|
||||
#endif
|
||||
|
||||
/* We always compile in this method so that it is available from
|
||||
* regression test cases. */
|
||||
- (void) _sanity
|
||||
{
|
||||
GSAttrInfo *info;
|
||||
unsigned i;
|
||||
|
@ -543,9 +549,6 @@ _attributesAtIndexEffectiveRange(
|
|||
l = info->loc;
|
||||
}
|
||||
}
|
||||
#else
|
||||
#define SANITY()
|
||||
#endif
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue