File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1002,6 +1002,10 @@ s! {
1002
1002
// structure exists for backwards-compatibility with consumers that still
1003
1003
// try to access that one member.
1004
1004
#[ doc( hidden) ]
1005
+ #[ deprecated(
1006
+ since = "0.2.127" ,
1007
+ note = "Use sigevent instead"
1008
+ ) ]
1005
1009
pub struct sigevent_0_2_126 {
1006
1010
pub sigev_notify: :: c_int,
1007
1011
pub sigev_signo: :: c_int,
@@ -1229,6 +1233,7 @@ s_no_extra_traits! {
1229
1233
}
1230
1234
}
1231
1235
1236
+ #[ allow( deprecated) ]
1232
1237
impl :: core:: ops:: Deref for sigevent {
1233
1238
type Target = sigevent_0_2_126 ;
1234
1239
@@ -1237,6 +1242,7 @@ impl ::core::ops::Deref for sigevent {
1237
1242
}
1238
1243
}
1239
1244
1245
+ #[ allow( deprecated) ]
1240
1246
impl :: core:: ops:: DerefMut for sigevent {
1241
1247
fn deref_mut ( & mut self ) -> & mut Self :: Target {
1242
1248
unsafe { & mut * ( self as * mut Self as * mut sigevent_0_2_126 ) }
Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ s! {
220
220
// structure exists for backwards-compatibility with consumers that still
221
221
// try to access that one member.
222
222
#[ doc( hidden) ]
223
+ #[ deprecated(
224
+ since = "0.2.127" ,
225
+ note = "Use sigevent instead"
226
+ ) ]
223
227
pub struct sigevent_0_2_126 {
224
228
pub sigev_value: :: sigval,
225
229
pub sigev_signo: :: c_int,
@@ -290,6 +294,7 @@ s_no_extra_traits! {
290
294
}
291
295
}
292
296
297
+ #[ allow( deprecated) ]
293
298
impl :: core:: ops:: Deref for sigevent {
294
299
type Target = sigevent_0_2_126 ;
295
300
@@ -298,6 +303,7 @@ impl ::core::ops::Deref for sigevent {
298
303
}
299
304
}
300
305
306
+ #[ allow( deprecated) ]
301
307
impl :: core:: ops:: DerefMut for sigevent {
302
308
fn deref_mut ( & mut self ) -> & mut Self :: Target {
303
309
unsafe { & mut * ( self as * mut Self as * mut sigevent_0_2_126 ) }
You can’t perform that action at this time.
0 commit comments