blob: 27a594831e590cb45df7e9ebcc98212ed05208ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
pub fn Int32x32To64(a: i32, b: i32) -> i64 { a as i64 * b as i64 }
macro_rules! IsTagEnabled {
($e: expr) => {
false
}
}
macro_rules! TraceTag {
(($e: expr, $s: expr)) => {
dbg!($s)
}
}
macro_rules! IFC {
($e: expr) => {
assert_eq!($e, S_OK);
}
}
macro_rules! IFR {
($e: expr) => {
let hresult = $e;
if (hresult != S_OK) { return hresult }
}
}
macro_rules! __analysis_assume {
($e: expr) => {
}
}
macro_rules! IFCOOM {
($e: expr) => {
assert_ne!($e, NULL());
}
}
macro_rules! RRETURN1 {
($e: expr, $s1: expr) => {
if $e == $s1 {
} else {
assert_eq!($e, S_OK);
}
return $e;
}
}
macro_rules! RRETURN {
($e: expr) => {
assert_eq!($e, S_OK);
return $e;
}
}
|