You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
348 B
Objective-C
21 lines
348 B
Objective-C
#ifndef YSSTRING_H
|
|
#define YSSTRING_H
|
|
|
|
#import "YSObject.h"
|
|
|
|
//does it make sense to subclass YSObject?
|
|
//probably not but it would be fun to
|
|
//deallocate a constant string
|
|
@interface YSConstantString : YSObject {
|
|
char *c_string;
|
|
unsigned int len;
|
|
}
|
|
|
|
-(const char *) cString;
|
|
-(unsigned int) length;
|
|
-(void) dealloc;
|
|
|
|
|
|
@end
|
|
|
|
#endif |