| 5 | namespace osidbg |
| 6 | { |
| 7 | FixedString ToFixedString(const char * s) |
| 8 | { |
| 9 | auto stringTable = gOsirisProxy->GetLibraryManager().GetGlobalStringTable(); |
| 10 | if (stringTable == nullptr) { |
| 11 | OsiError("ToFixedString(): Global string table not available!"); |
| 12 | return FixedString(nullptr); |
| 13 | } |
| 14 | |
| 15 | auto str = stringTable->Find(s, strlen(s)); |
| 16 | return FixedString(str); |
| 17 | } |
| 18 | |
| 19 | char const * NameGuidToFixedString(std::string const & nameGuid) |
| 20 | { |
no test coverage detected