Revert "Fix memory corruption in NSException."

Accidentally included unrelated changes.

This reverts commit 3b1e94ec5d.
This commit is contained in:
David Chisnall 2018-04-07 20:03:33 +01:00
parent 3b1e94ec5d
commit 970c8cbd05
3 changed files with 2 additions and 145 deletions

View file

@ -881,12 +881,6 @@ typedef NSUInteger NSStringEncodingConversionOptions;
@end
#ifdef __OBJC_GNUSTEP_RUNTIME_ABI__
# if __OBJC_GNUSTEP_RUNTIME_ABI__ >= 20
# define GNUSTEP_NEW_STRING_ABI
# endif
#endif
/**
* <p>The NXConstantString class is used to hold constant 8-bit character
* string objects produced by the compiler where it sees @"..." in the
@ -914,16 +908,8 @@ typedef NSUInteger NSStringEncodingConversionOptions;
@interface NXConstantString : NSString
{
@public
#ifdef GNUSTEP_NEW_STRING_ABI
uint32_t flags;
uint32_t nxcslen;
uint32_t size;
uint32_t hash;
const char * const nxcsptr;
#else
const char * const nxcsptr;
const unsigned int nxcslen;
#endif
}
@end