/* Common information for all objc runtime tests. */ #include #include #include #ifndef NeXT_RUNTIME #include @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