Skip to content

Commit

Permalink
Fix presets
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Dec 2, 2023
1 parent 371fdb7 commit c66f816
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions depthai/src/main/java/org/bytedeco/depthai/presets/depthai.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
inherit = opencv_imgproc.class,
value = {
@Platform(
value = {"linux-arm", "linux-x86", "macosx-x86"},
value = {"android", "linux-arm", "linux-x86", "macosx-x86", "Windows-x86"},
compiler = "cpp14",
define = {"SHARED_PTR_NAMESPACE std", "UNIQUE_PTR_NAMESPACE std", "XLINK_USE_MX_ID_NAME ON"},
include = {
Expand Down Expand Up @@ -485,11 +485,11 @@ public void map(InfoMap infoMap) {
.put(new Info("dai::DeviceBootloader::Version::toString", "dai::Version::toString",
"dai::DeviceInfo::toString", "dai::Node::toString").javaText("public native @StdString String toString();"))

.put(new Info("std::function<std::shared_ptr<dai::RawBuffer>(std::shared_ptr<RawBuffer>)>").valueTypes("RawBufferCallback"))
.put(new Info("std::function<void(LogMessage)>").valueTypes("LogCallback"))
.put(new Info("std::function<std::shared_ptr<dai::RawBuffer>(dai::RawBuffer*)>").valueTypes("RawBufferCallback"))
.put(new Info("std::function<void(dai::LogMessage)>").valueTypes("LogCallback"))
.put(new Info("std::function<void(float)>").valueTypes("ProgressCallback"))
.put(new Info("std::function<void(std::string,std::shared_ptr<ADatatype>)>").valueTypes("NameMessageCallback"))
.put(new Info("std::function<void(std::shared_ptr<ADatatype>)>").valueTypes("MessageCallback"))
.put(new Info("std::function<void(std::string,std::shared_ptr<dai::ADatatype>)>").valueTypes("NameMessageCallback"))
.put(new Info("std::function<void(std::shared_ptr<dai::ADatatype>)>").valueTypes("MessageCallback"))
.put(new Info("std::function<void()>").valueTypes("Callback"))
;
}
Expand Down

0 comments on commit c66f816

Please sign in to comment.