Skip to content

Commit b273dbb

Browse files
author
Simon Hofmann
committed
(#17) Switched to typedef for windowhandle
1 parent aa4cc6f commit b273dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ Napi::Number _highlight(const Napi::CallbackInfo &info)
672672
Napi::Array _getWindows(const Napi::CallbackInfo &info) {
673673
Napi::Env env = info.Env();
674674

675-
std::vector<int64_t> windowHandles = getWindows();
675+
std::vector<WindowHandle> windowHandles = getWindows();
676676
auto arr = Napi::Array::New(env, windowHandles.size());
677677

678678
for (size_t idx = 0; idx < windowHandles.size(); ++idx) {

0 commit comments

Comments
 (0)