Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit e445623

Browse files
committed
ggg
1 parent c994a8e commit e445623

4 files changed

Lines changed: 86 additions & 648 deletions

File tree

bindings/BUDFrameless.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
#include "../src/UDFrameless.h"
1+
2+
#include <UDFrameless.h>
23
#include<pybind11/pybind11.h>
3-
namespace py=pybind11;
44

5+
namespace py=pybind11;
56
PYBIND11_MODULE(UDFrameless, mod) {
67
mod.doc() = "cxxtestpy module";
78
mod.def("setWindowEffect",&setWindowEffect,py::arg("hwnd"),py::arg("key"),py::arg("enable"));
89

9-
// mod.def("handle", &FooApi::instance);
10+
1011
}

bindings/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ add_subdirectory(pybind11)
99

1010
# create bindings
1111
pybind11_add_module(UDFrameless BUDFrameless.cpp)
12-
target_link_libraries(UDFrameless PRIVATE unideskcppext)
12+
target_link_libraries(UDFrameless PRIVATE unideskcppext pybind11::embed)

0 commit comments

Comments
 (0)