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

Method exec

source/src/scriptinterpreter.cpp:1149–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147 if (!IsWindow(wnd)) return false;
1148 return static_cast<bool>(ShowWindow(wnd, args.size() > 1 ? args[1].toBool() : SW_SHOW));
1149 }
1150};
1151struct QiFunc_wnd_top : public QiFunc
1152{
1153 QiFunc_wnd_top() : QiFunc(1, 2) {}
1154 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1155 {
1156 auto wnd = reinterpret_cast<HWND>(args[0].toPointer());
1157 if (!IsWindow(wnd)) return false;

Callers

nothing calls this directly

Calls 3

toPointerMethod · 0.80
sizeMethod · 0.45
toBoolMethod · 0.45

Tested by

no test coverage detected