+ add aiString::C_Str
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1110 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
d3d82030c7
commit
20495de804
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue