+ add aiString::C_Str

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1110 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
aramis_acg 2012-01-13 00:44:27 +00:00
parent d3d82030c7
commit 20495de804
1 changed files with 5 additions and 0 deletions

View File

@ -337,6 +337,11 @@ struct aiString
#endif
}
/** Returns a pointer to the underlying zero-terminated array of characters */
const char* C_Str() const {
return data;
}
#endif // !__cplusplus
/** Binary length of the string excluding the terminal 0. This is NOT the