Skip to content

Commit 6924fee

Browse files
committed
windows deprecate CONTEXT and related types.
1 parent bc4d6d6 commit 6924fee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/windows/msvc/x86_64/align.rs

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[allow(deprecated)]
12
pub type XMM_SAVE_AREA32 = XSAVE_FORMAT;
23

34
s_no_extra_traits! {
@@ -40,12 +41,18 @@ cfg_if! {
4041
}
4142

4243
s! {
44+
#[doc(hidden)]
45+
#[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to
46+
remove it in a future release")]
4347
#[repr(align(16))]
4448
pub struct M128A {
4549
pub Low: ::c_ulonglong,
4650
pub High: ::c_longlong,
4751
}
4852

53+
#[doc(hidden)]
54+
#[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to
55+
remove it in a future release")]
4956
#[repr(align(16))]
5057
pub struct XSAVE_FORMAT {
5158
pub ControlWord: ::c_ushort,
@@ -88,6 +95,9 @@ s! {
8895
pub Xmm15: M128A,
8996
}
9097

98+
#[doc(hidden)]
99+
#[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to
100+
remove it in a future release")]
91101
#[repr(align(16))]
92102
pub struct CONTEXT {
93103
pub P1Home: u64,

0 commit comments

Comments
 (0)