| 62 | } |
| 63 | |
| 64 | MaaBool MaaStringBufferSet(MaaStringBuffer* handle, const char* str) |
| 65 | { |
| 66 | if (!handle || !str) { |
| 67 | LogError << "handle is null"; |
| 68 | return false; |
| 69 | } |
| 70 | |
| 71 | handle->set(str); |
| 72 | return true; |
| 73 | } |
| 74 | |
| 75 | MaaBool MaaStringBufferSetEx(MaaStringBuffer* handle, const char* str, MaaSize size) |
| 76 | { |
no test coverage detected