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:
Nicola Pero 2002-04-11 14:35:41 +00:00
parent 0d1601e3d2
commit f205a81fa2

View file

@ -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
{