mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29636 72102866-910b-0410-8b05-ffd578937521
34 lines
588 B
Text
34 lines
588 B
Text
/* Common information for all objc runtime tests.
|
|
*/
|
|
#include <objc/objc.h>
|
|
#include <objc/objc-api.h>
|
|
|
|
#include <objc/Object.h>
|
|
|
|
#ifndef NeXT_RUNTIME
|
|
#include <objc/NXConstStr.h>
|
|
@implementation NXConstantString
|
|
- (const char*) cString
|
|
{
|
|
return 0;
|
|
}
|
|
- (unsigned int) length
|
|
{
|
|
return 0;
|
|
}
|
|
@end
|
|
#endif
|
|
|
|
/* Provide dummy implementations for NSObject and NSConstantString
|
|
* for runtime implementations which won't link without them.
|
|
*/
|
|
|
|
@interface NSObject : Object
|
|
@end
|
|
@implementation NSObject
|
|
@end
|
|
|
|
@interface NSConstantString : NSObject
|
|
@end
|
|
@implementation NSConstantString
|
|
@end
|