MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1291–1294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1289struct QiFunc_wnd_class : public QiFunc
1290{
1291 QiFunc_wnd_class() : QiFunc(1) {}
1292 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1293 {
1294 auto wnd = reinterpret_cast<HWND>(args[0].toPointer());
1295 if (!IsWindow(wnd)) return false;
1296 return Window::className(wnd).toStdString();
1297 }

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected