16 lines
325 B
Objective-C
16 lines
325 B
Objective-C
//
|
|
// NSString_ObjCPlusPlus.h
|
|
// celestia
|
|
//
|
|
// Created by Bob Ippolito on Fri Jun 07 2002.
|
|
// Copyright (c) 2002 Chris Laurel. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#include <string>
|
|
|
|
@interface NSString(ObjCPlusPlus)
|
|
-(std::string)stdString;
|
|
+(NSString *)stringWithStdString:(std::string)str;
|
|
@end
|