* Load text data from file (read) */
| 71 | * Load text data from file (read) |
| 72 | */ |
| 73 | RLCPP_MAYBEUNUSED RLCPPAPI std::string LoadFileText(const std::string& fileName) { |
| 74 | char* text = ::LoadFileText(fileName.c_str()); |
| 75 | std::string output(text); |
| 76 | ::UnloadFileText(text); |
| 77 | return output; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Save text data to file (write) |