You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
253 B
18 lines
253 B
4 months ago
|
#[cxx::bridge]
|
||
|
mod ffi {
|
||
|
enum Good1 {
|
||
|
A = 0xFFFF_FFFF_FFFF_FFFF,
|
||
|
}
|
||
|
enum Good2 {
|
||
|
B = 0xFFFF_FFFF_FFFF_FFFF,
|
||
|
C = 2020,
|
||
|
}
|
||
|
enum Bad {
|
||
|
D = 0xFFFF_FFFF_FFFF_FFFE,
|
||
|
E,
|
||
|
F,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|