mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +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
e85b986e37
commit
54376cba93
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…
Add table
Add a link
Reference in a new issue