mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-27 05:31:15 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
26 lines
669 B
C++
26 lines
669 B
C++
// bindgen-flags: --block-extern-crate -- -fblocks
|
|
// bindgen-osx-only
|
|
|
|
typedef unsigned long long size_t;
|
|
|
|
void atexit_b(void (^)(void));
|
|
|
|
typedef void *dispatch_data_t;
|
|
|
|
typedef bool (^dispatch_data_applier_t)(dispatch_data_t region,
|
|
size_t offset,
|
|
const void *buffer,
|
|
size_t size);
|
|
|
|
bool dispatch_data_apply(dispatch_data_t data,
|
|
dispatch_data_applier_t applier);
|
|
|
|
bool foo(void (^)(size_t bar));
|
|
|
|
bool foo_ptr(void (^*)(size_t bar));
|
|
|
|
struct contains_block_pointers {
|
|
void (^val)(int);
|
|
void (^*ptr_val)(int);
|
|
};
|