mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 15:25:14 +03:00
23 lines
335 B
Objective-C
23 lines
335 B
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
#import "CocoaCategories.h"
|
|
|
|
@implementation NSObject (NeoVimServer)
|
|
|
|
- (const char *)cdesc {
|
|
return self.description.cstr;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation NSString (NeoVimServer)
|
|
|
|
- (const char *)cstr {
|
|
return [self cStringUsingEncoding:NSUTF8StringEncoding];
|
|
}
|
|
|
|
@end
|