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

Method exec

source/src/scriptinterpreter.cpp:1230–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1228*/
1229struct QiFunc_wnd_size_get : public QiFunc
1230{
1231 QiFunc_wnd_size_get() : QiFunc(3) {}
1232 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter* inter) const override
1233 {
1234 auto wnd = reinterpret_cast<HWND>(args[0].toPointer());
1235 if (!IsWindow(wnd)) return false;
1236 auto size = Window::size(wnd);
1237 inter->setValue(args[1].toString(), size.cx);

Callers

nothing calls this directly

Calls 1

toPointerMethod · 0.80

Tested by

no test coverage detected