MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / MaaStringBufferIsEmpty

Function MaaStringBufferIsEmpty

source/Common/MaaBuffer.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23MaaBool MaaStringBufferIsEmpty(const MaaStringBuffer* handle)
24{
25 if (!handle) {
26 LogError << "handle is null";
27 return true; // means empty
28 }
29
30 return handle->empty();
31}
32
33MaaBool MaaStringBufferClear(MaaStringBuffer* handle)
34{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected