Renamed -sanity to -_sanity, and always compile it, to make it available

to regression tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13426 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-04-11 14:38:19 +00:00
parent 39b3e9d495
commit d95be8275f

View file

@ -396,8 +396,13 @@ _attributesAtIndexEffectiveRange(
#if SANITY_CHECKS
#define SANITY() [self sanity]
- (void) sanity
#else
#define SANITY()
#endif
/* We always compile in this method so that it is available from
* regression test cases. */
- (void) _sanity
{
GSTextInfo *info;
unsigned i;
@ -416,9 +421,6 @@ _attributesAtIndexEffectiveRange(
l = info->loc;
}
}
#else
#define SANITY()
#endif
/*
* If we are multi-threaded, we must guard access to the uniquing set.