mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
39b3e9d495
commit
d95be8275f
1 changed files with 7 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue