@@ -648,7 +648,7 @@ cxx_qt::static_assertions::assert_eq_size!(
648648 cxx_qt:: signalhandler:: CxxQtSignalHandler <MyObjectCxxQtSignalClosureready >,
649649 [ usize ; 2 ]
650650) ;
651- impl :: cxx_qt:: Upcast < ffi:: QStringListModel > for ffi:: MyObject {
651+ unsafe impl :: cxx_qt:: Upcast < ffi:: QStringListModel > for ffi:: MyObject {
652652 unsafe fn upcast_ptr ( this : * const Self ) -> * const ffi:: QStringListModel {
653653 ffi:: cxx_qt_ffi_MyObject_upcastPtr ( this)
654654 }
@@ -822,7 +822,7 @@ cxx_qt::static_assertions::assert_eq_size!(
822822 cxx_qt:: signalhandler:: CxxQtSignalHandler <SecondObjectCxxQtSignalClosureready >,
823823 [ usize ; 2 ]
824824) ;
825- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: SecondObject {
825+ unsafe impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: SecondObject {
826826 unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
827827 ffi:: cxx_qt_ffi_SecondObject_upcastPtr ( this)
828828 }
@@ -850,7 +850,7 @@ impl ::cxx_qt::CxxQtType for ffi::SecondObject {
850850 ffi:: cxx_qt_ffi_SecondObject_unsafeRustMut ( self )
851851 }
852852}
853- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: MyRustName {
853+ unsafe impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: MyRustName {
854854 unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
855855 ffi:: cxx_qt_ffi_MyCxxName_upcastPtr ( this)
856856 }
@@ -878,15 +878,15 @@ impl ::cxx_qt::CxxQtType for ffi::MyRustName {
878878 ffi:: cxx_qt_ffi_MyCxxName_unsafeRustMut ( self )
879879 }
880880}
881- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: QPushButton {
881+ unsafe impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: QPushButton {
882882 unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
883883 ffi:: cxx_qt_ffi_QPushButton_upcastPtr ( this)
884884 }
885885 unsafe fn from_base_ptr ( base : * const :: cxx_qt:: QObject ) -> * const Self {
886886 ffi:: cxx_qt_ffi_QPushButton_downcastPtr ( base)
887887 }
888888}
889- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: ExternObject {
889+ unsafe impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: ExternObject {
890890 unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
891891 ffi:: cxx_qt_ffi_ExternObjectCpp_upcastPtr ( this)
892892 }
0 commit comments