@@ -132,6 +132,10 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){
132
132
;
133
133
134
134
// CameraBoardSocket enum bindings
135
+
136
+ // Deprecated
137
+ HEDLEY_DIAGNOSTIC_PUSH
138
+ HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
135
139
cameraBoardSocket
136
140
.value (" AUTO" , CameraBoardSocket::AUTO)
137
141
.value (" CAM_A" , CameraBoardSocket::CAM_A)
@@ -143,9 +147,6 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){
143
147
.value (" CAM_G" , CameraBoardSocket::CAM_G)
144
148
.value (" CAM_H" , CameraBoardSocket::CAM_H)
145
149
146
- // Deprecated
147
- HEDLEY_DIAGNOSTIC_PUSH
148
- HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
149
150
.value (" RGB" , CameraBoardSocket::RGB, " **Deprecated:** Use CAM_A or address camera by name instead" )
150
151
.value (" LEFT" , CameraBoardSocket::LEFT, " **Deprecated:** Use CAM_B or address camera by name instead" )
151
152
.value (" RIGHT" , CameraBoardSocket::RIGHT, " **Deprecated:** Use CAM_C or address camera by name instead" )
@@ -168,8 +169,8 @@ void CommonBindings::bind(pybind11::module& m, void* pCallstack){
168
169
PyErr_WarnEx (PyExc_DeprecationWarning, " RIGHT is deprecated, use CAM_C or address camera by name instead." , 1 );
169
170
return CameraBoardSocket::CAM_C;
170
171
})
171
- HEDLEY_DIAGNOSTIC_POP
172
172
;
173
+ HEDLEY_DIAGNOSTIC_POP
173
174
174
175
// CameraSensorType enum bindings
175
176
cameraSensorType
0 commit comments