| 50 | |
| 51 | |
| 52 | const char *CreateNewScriptString(const char *text) |
| 53 | { |
| 54 | return static_cast<const char*>(ScriptString::Create(text).Obj()); |
| 55 | } |
| 56 | |
| 57 | // Gets a offset corresponding to a character index in a script String; |
| 58 | // tries to speed up utf-8 offset calculation by using recorded previous result |
no test coverage detected