mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-20 22:56:53 -04:00
Add test coverage for 'await' and 'async' keywords
Add declarations for 'await' and 'async' variables to keywords.h and update the expectations in keywords.rs.
This commit is contained in:
committed by
Darren Kulp
parent
d7c09a3d11
commit
75a79d71f3
Generated
+8
@@ -69,6 +69,14 @@ extern "C" {
|
||||
#[link_name = "\u{1}as"]
|
||||
pub static mut as_: ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
#[link_name = "\u{1}async"]
|
||||
pub static mut async_: ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
#[link_name = "\u{1}await"]
|
||||
pub static mut await_: ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
#[link_name = "\u{1}box"]
|
||||
pub static mut box_: ::std::os::raw::c_int;
|
||||
|
||||
@@ -15,6 +15,8 @@ int str;
|
||||
int dyn;
|
||||
|
||||
int as;
|
||||
int async;
|
||||
int await;
|
||||
int box;
|
||||
int crate;
|
||||
int false;
|
||||
|
||||
Reference in New Issue
Block a user