Skip to content

Commit a740388

Browse files
committed
dbg
1 parent a29d222 commit a740388

File tree

6,135 files changed

+1312590
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,135 files changed

+1312590
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
impl core::GpuMat_AllocatorTraitConst for types::AbstractRefMut<'static, core::GpuMat_Allocator> {
2+
#[inline] fn as_raw_GpuMat_Allocator(&self) -> extern_send!(Self) { self.as_raw() }
3+
}
4+
5+
impl core::GpuMat_AllocatorTrait for types::AbstractRefMut<'static, core::GpuMat_Allocator> {
6+
#[inline] fn as_raw_mut_GpuMat_Allocator(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() }
7+
}
8+

out/3.4/010-core-const_MatOp.type.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
impl core::MatOpTraitConst for types::AbstractRefMut<'static, core::MatOp> {
2+
#[inline] fn as_raw_MatOp(&self) -> extern_send!(Self) { self.as_raw() }
3+
}
4+
5+
impl core::MatOpTrait for types::AbstractRefMut<'static, core::MatOp> {
6+
#[inline] fn as_raw_mut_MatOp(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() }
7+
}
8+

out/3.4/050-aruco-PtrOfBoard.type.cpp

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
extern "C" {
2+
// cv::Ptr<cv::aruco::Board>::getInnerPtr() generated
3+
// ("cv::Ptr<cv::aruco::Board>::getInnerPtr", vec![(pred!(const, [], []), _)]),
4+
const cv::aruco::Board* cv_PtrLcv_aruco_BoardG_getInnerPtr_const(const cv::Ptr<cv::aruco::Board>* instance) {
5+
return instance->get();
6+
}
7+
8+
// cv::Ptr<cv::aruco::Board>::getInnerPtrMut() generated
9+
// ("cv::Ptr<cv::aruco::Board>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
10+
cv::aruco::Board* cv_PtrLcv_aruco_BoardG_getInnerPtrMut(cv::Ptr<cv::aruco::Board>* instance) {
11+
return instance->get();
12+
}
13+
14+
// cv::Ptr<cv::aruco::Board>::new_null() generated
15+
// ("cv::Ptr<cv::aruco::Board>::new_null", vec![(pred!(const, [], []), _)]),
16+
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_BoardG_new_null_const() {
17+
return new cv::Ptr<cv::aruco::Board>();
18+
}
19+
20+
// cv::Ptr<cv::aruco::Board>::delete() generated
21+
// ("cv::Ptr<cv::aruco::Board>::delete", vec![(pred!(mut, [], []), _)]),
22+
void cv_PtrLcv_aruco_BoardG_delete(cv::Ptr<cv::aruco::Board>* instance) {
23+
delete instance;
24+
}
25+
26+
// cv::Ptr<cv::aruco::Board>::new(TraitClass) generated
27+
// ("cv::Ptr<cv::aruco::Board>::new", vec![(pred!(const, ["val"], ["cv::aruco::Board"]), _)]),
28+
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_BoardG_new_const_Board(cv::aruco::Board* val) {
29+
return new cv::Ptr<cv::aruco::Board>(val);
30+
}
31+
32+
}
33+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// cv::Ptr<cv::aruco::Board>::getInnerPtr() generated
2+
// ("cv::Ptr<cv::aruco::Board>::getInnerPtr", vec![(pred!(const, [], []), _)]),
3+
pub fn cv_PtrLcv_aruco_BoardG_getInnerPtr_const(instance: *const c_void) -> *mut c_void;
4+
// cv::Ptr<cv::aruco::Board>::getInnerPtrMut() generated
5+
// ("cv::Ptr<cv::aruco::Board>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
6+
pub fn cv_PtrLcv_aruco_BoardG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void;
7+
// cv::Ptr<cv::aruco::Board>::new_null() generated
8+
// ("cv::Ptr<cv::aruco::Board>::new_null", vec![(pred!(const, [], []), _)]),
9+
pub fn cv_PtrLcv_aruco_BoardG_new_null_const() -> *mut c_void;
10+
// cv::Ptr<cv::aruco::Board>::delete() generated
11+
// ("cv::Ptr<cv::aruco::Board>::delete", vec![(pred!(mut, [], []), _)]),
12+
pub fn cv_PtrLcv_aruco_BoardG_delete(instance: *mut c_void);
13+
// cv::Ptr<cv::aruco::Board>::new(TraitClass) generated
14+
// ("cv::Ptr<cv::aruco::Board>::new", vec![(pred!(const, ["val"], ["cv::aruco::Board"]), _)]),
15+
pub fn cv_PtrLcv_aruco_BoardG_new_const_Board(val: *mut c_void) -> *mut c_void;

out/3.4/050-aruco-PtrOfBoard.type.rs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
ptr_extern! { crate::aruco::Board,
2+
cv_PtrLcv_aruco_BoardG_new_null_const, cv_PtrLcv_aruco_BoardG_delete, cv_PtrLcv_aruco_BoardG_getInnerPtr_const, cv_PtrLcv_aruco_BoardG_getInnerPtrMut
3+
}
4+
5+
ptr_extern_ctor! { crate::aruco::Board, cv_PtrLcv_aruco_BoardG_new_const_Board }
6+
impl core::Ptr<crate::aruco::Board> {
7+
#[inline] pub fn as_raw_PtrOfBoard(&self) -> extern_send!(Self) { self.as_raw() }
8+
#[inline] pub fn as_raw_mut_PtrOfBoard(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() }
9+
}
10+
11+
impl crate::aruco::BoardTraitConst for core::Ptr<crate::aruco::Board> {
12+
#[inline] fn as_raw_Board(&self) -> *const c_void { self.inner_as_raw() }
13+
}
14+
15+
impl crate::aruco::BoardTrait for core::Ptr<crate::aruco::Board> {
16+
#[inline] fn as_raw_mut_Board(&mut self) -> *mut c_void { self.inner_as_raw_mut() }
17+
}
18+
19+
impl std::fmt::Debug for core::Ptr<crate::aruco::Board> {
20+
#[inline]
21+
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
22+
f.debug_struct("PtrOfBoard")
23+
.field("obj_points", &crate::aruco::BoardTraitConst::obj_points(self))
24+
.field("ids", &crate::aruco::BoardTraitConst::ids(self))
25+
.field("right_bottom_border", &crate::aruco::BoardTraitConst::right_bottom_border(self))
26+
.finish()
27+
}
28+
}
29+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
extern "C" {
2+
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr() generated
3+
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr", vec![(pred!(const, [], []), _)]),
4+
const cv::aruco::CharucoBoard* cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const(const cv::Ptr<cv::aruco::CharucoBoard>* instance) {
5+
return instance->get();
6+
}
7+
8+
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut() generated
9+
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
10+
cv::aruco::CharucoBoard* cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut(cv::Ptr<cv::aruco::CharucoBoard>* instance) {
11+
return instance->get();
12+
}
13+
14+
// cv::Ptr<cv::aruco::CharucoBoard>::new_null() generated
15+
// ("cv::Ptr<cv::aruco::CharucoBoard>::new_null", vec![(pred!(const, [], []), _)]),
16+
cv::Ptr<cv::aruco::CharucoBoard>* cv_PtrLcv_aruco_CharucoBoardG_new_null_const() {
17+
return new cv::Ptr<cv::aruco::CharucoBoard>();
18+
}
19+
20+
// cv::Ptr<cv::aruco::CharucoBoard>::delete() generated
21+
// ("cv::Ptr<cv::aruco::CharucoBoard>::delete", vec![(pred!(mut, [], []), _)]),
22+
void cv_PtrLcv_aruco_CharucoBoardG_delete(cv::Ptr<cv::aruco::CharucoBoard>* instance) {
23+
delete instance;
24+
}
25+
26+
// cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard() generated
27+
// ("cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard", vec![(pred!(mut, [], []), _)]),
28+
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard(cv::Ptr<cv::aruco::CharucoBoard>* instance) {
29+
return new cv::Ptr<cv::aruco::Board>(instance->dynamicCast<cv::aruco::Board>());
30+
}
31+
32+
// cv::Ptr<cv::aruco::CharucoBoard>::new(TraitClass) generated
33+
// ("cv::Ptr<cv::aruco::CharucoBoard>::new", vec![(pred!(const, ["val"], ["cv::aruco::CharucoBoard"]), _)]),
34+
cv::Ptr<cv::aruco::CharucoBoard>* cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard(cv::aruco::CharucoBoard* val) {
35+
return new cv::Ptr<cv::aruco::CharucoBoard>(val);
36+
}
37+
38+
}
39+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr() generated
2+
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr", vec![(pred!(const, [], []), _)]),
3+
pub fn cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const(instance: *const c_void) -> *mut c_void;
4+
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut() generated
5+
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
6+
pub fn cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void;
7+
// cv::Ptr<cv::aruco::CharucoBoard>::new_null() generated
8+
// ("cv::Ptr<cv::aruco::CharucoBoard>::new_null", vec![(pred!(const, [], []), _)]),
9+
pub fn cv_PtrLcv_aruco_CharucoBoardG_new_null_const() -> *mut c_void;
10+
// cv::Ptr<cv::aruco::CharucoBoard>::delete() generated
11+
// ("cv::Ptr<cv::aruco::CharucoBoard>::delete", vec![(pred!(mut, [], []), _)]),
12+
pub fn cv_PtrLcv_aruco_CharucoBoardG_delete(instance: *mut c_void);
13+
// cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard() generated
14+
// ("cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard", vec![(pred!(mut, [], []), _)]),
15+
pub fn cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard(instance: *mut c_void) -> *mut c_void;
16+
// cv::Ptr<cv::aruco::CharucoBoard>::new(TraitClass) generated
17+
// ("cv::Ptr<cv::aruco::CharucoBoard>::new", vec![(pred!(const, ["val"], ["cv::aruco::CharucoBoard"]), _)]),
18+
pub fn cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard(val: *mut c_void) -> *mut c_void;
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
ptr_extern! { crate::aruco::CharucoBoard,
2+
cv_PtrLcv_aruco_CharucoBoardG_new_null_const, cv_PtrLcv_aruco_CharucoBoardG_delete, cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const, cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut
3+
}
4+
5+
ptr_extern_ctor! { crate::aruco::CharucoBoard, cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard }
6+
impl core::Ptr<crate::aruco::CharucoBoard> {
7+
#[inline] pub fn as_raw_PtrOfCharucoBoard(&self) -> extern_send!(Self) { self.as_raw() }
8+
#[inline] pub fn as_raw_mut_PtrOfCharucoBoard(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() }
9+
}
10+
11+
impl crate::aruco::CharucoBoardTraitConst for core::Ptr<crate::aruco::CharucoBoard> {
12+
#[inline] fn as_raw_CharucoBoard(&self) -> *const c_void { self.inner_as_raw() }
13+
}
14+
15+
impl crate::aruco::CharucoBoardTrait for core::Ptr<crate::aruco::CharucoBoard> {
16+
#[inline] fn as_raw_mut_CharucoBoard(&mut self) -> *mut c_void { self.inner_as_raw_mut() }
17+
}
18+
19+
impl crate::aruco::BoardTraitConst for core::Ptr<crate::aruco::CharucoBoard> {
20+
#[inline] fn as_raw_Board(&self) -> *const c_void { self.inner_as_raw() }
21+
}
22+
23+
impl crate::aruco::BoardTrait for core::Ptr<crate::aruco::CharucoBoard> {
24+
#[inline] fn as_raw_mut_Board(&mut self) -> *mut c_void { self.inner_as_raw_mut() }
25+
}
26+
27+
ptr_cast_base! { core::Ptr<crate::aruco::CharucoBoard>, core::Ptr<crate::aruco::Board>, cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard }
28+
29+
impl std::fmt::Debug for core::Ptr<crate::aruco::CharucoBoard> {
30+
#[inline]
31+
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
32+
f.debug_struct("PtrOfCharucoBoard")
33+
.field("chessboard_corners", &crate::aruco::CharucoBoardTraitConst::chessboard_corners(self))
34+
.field("nearest_marker_idx", &crate::aruco::CharucoBoardTraitConst::nearest_marker_idx(self))
35+
.field("nearest_marker_corners", &crate::aruco::CharucoBoardTraitConst::nearest_marker_corners(self))
36+
.field("obj_points", &crate::aruco::BoardTraitConst::obj_points(self))
37+
.field("ids", &crate::aruco::BoardTraitConst::ids(self))
38+
.field("right_bottom_border", &crate::aruco::BoardTraitConst::right_bottom_border(self))
39+
.finish()
40+
}
41+
}
42+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
extern "C" {
2+
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr() generated
3+
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr", vec![(pred!(const, [], []), _)]),
4+
const cv::aruco::DetectorParameters* cv_PtrLcv_aruco_DetectorParametersG_getInnerPtr_const(const cv::Ptr<cv::aruco::DetectorParameters>* instance) {
5+
return instance->get();
6+
}
7+
8+
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut() generated
9+
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
10+
cv::aruco::DetectorParameters* cv_PtrLcv_aruco_DetectorParametersG_getInnerPtrMut(cv::Ptr<cv::aruco::DetectorParameters>* instance) {
11+
return instance->get();
12+
}
13+
14+
// cv::Ptr<cv::aruco::DetectorParameters>::new_null() generated
15+
// ("cv::Ptr<cv::aruco::DetectorParameters>::new_null", vec![(pred!(const, [], []), _)]),
16+
cv::Ptr<cv::aruco::DetectorParameters>* cv_PtrLcv_aruco_DetectorParametersG_new_null_const() {
17+
return new cv::Ptr<cv::aruco::DetectorParameters>();
18+
}
19+
20+
// cv::Ptr<cv::aruco::DetectorParameters>::delete() generated
21+
// ("cv::Ptr<cv::aruco::DetectorParameters>::delete", vec![(pred!(mut, [], []), _)]),
22+
void cv_PtrLcv_aruco_DetectorParametersG_delete(cv::Ptr<cv::aruco::DetectorParameters>* instance) {
23+
delete instance;
24+
}
25+
26+
// cv::Ptr<cv::aruco::DetectorParameters>::new(TraitClass) generated
27+
// ("cv::Ptr<cv::aruco::DetectorParameters>::new", vec![(pred!(const, ["val"], ["cv::aruco::DetectorParameters"]), _)]),
28+
cv::Ptr<cv::aruco::DetectorParameters>* cv_PtrLcv_aruco_DetectorParametersG_new_const_DetectorParameters(cv::aruco::DetectorParameters* val) {
29+
return new cv::Ptr<cv::aruco::DetectorParameters>(val);
30+
}
31+
32+
}
33+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr() generated
2+
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr", vec![(pred!(const, [], []), _)]),
3+
pub fn cv_PtrLcv_aruco_DetectorParametersG_getInnerPtr_const(instance: *const c_void) -> *mut c_void;
4+
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut() generated
5+
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]),
6+
pub fn cv_PtrLcv_aruco_DetectorParametersG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void;
7+
// cv::Ptr<cv::aruco::DetectorParameters>::new_null() generated
8+
// ("cv::Ptr<cv::aruco::DetectorParameters>::new_null", vec![(pred!(const, [], []), _)]),
9+
pub fn cv_PtrLcv_aruco_DetectorParametersG_new_null_const() -> *mut c_void;
10+
// cv::Ptr<cv::aruco::DetectorParameters>::delete() generated
11+
// ("cv::Ptr<cv::aruco::DetectorParameters>::delete", vec![(pred!(mut, [], []), _)]),
12+
pub fn cv_PtrLcv_aruco_DetectorParametersG_delete(instance: *mut c_void);
13+
// cv::Ptr<cv::aruco::DetectorParameters>::new(TraitClass) generated
14+
// ("cv::Ptr<cv::aruco::DetectorParameters>::new", vec![(pred!(const, ["val"], ["cv::aruco::DetectorParameters"]), _)]),
15+
pub fn cv_PtrLcv_aruco_DetectorParametersG_new_const_DetectorParameters(val: *mut c_void) -> *mut c_void;

0 commit comments

Comments
 (0)