mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
|
#if SANITY_CHECKS
|
||||||
|
|
||||||
#define SANITY() [self sanity]
|
#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
|
||||||
{
|
{
|
||||||
GSAttrInfo *info;
|
GSAttrInfo *info;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
@ -543,9 +549,6 @@ _attributesAtIndexEffectiveRange(
|
||||||
l = info->loc;
|
l = info->loc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
#define SANITY()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue