MCPcopy Create free account
hub / github.com/WallBreaker2/op / OpGetCmdStr

Function OpGetCmdStr

libop/c_api/op_c_api.cpp:458–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458const wchar_t *OP_CALL OpGetCmdStr(op_handle handle, const wchar_t *cmd, int millseconds) {
459 return call_string(handle, [&](op::Op &op, std::wstring &ret) { op.GetCmdStr(safe_text(cmd), millseconds, ret); });
460}
461
462int OP_CALL OpSetClipboard(op_handle handle, const wchar_t *str) {
463 return call_ret(handle, [&](op::Op &op, long *ret) { op.SetClipboard(safe_text(str), ret); });

Callers

nothing calls this directly

Calls 3

call_stringFunction · 0.85
safe_textFunction · 0.85
GetCmdStrMethod · 0.45

Tested by

no test coverage detected