mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
222 B
10 lines
222 B
|
11 years ago
|
#include "Utility.h"
|
||
|
|
|
||
|
|
std::string clang::to_string(CXString cx_string) {
|
||
|
|
std::string string;
|
||
|
|
if(cx_string.data!=NULL) {
|
||
|
|
string=clang_getCString(cx_string);
|
||
|
|
clang_disposeString(cx_string);
|
||
|
|
}
|
||
|
|
return string;
|
||
|
|
}
|