summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/without_array_pointers_arguments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/without_array_pointers_arguments.rs')
-rw-r--r--tests/expectations/tests/without_array_pointers_arguments.rs13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/expectations/tests/without_array_pointers_arguments.rs b/tests/expectations/tests/without_array_pointers_arguments.rs
index b6168937..4221fc0c 100644
--- a/tests/expectations/tests/without_array_pointers_arguments.rs
+++ b/tests/expectations/tests/without_array_pointers_arguments.rs
@@ -8,13 +8,20 @@
)]
extern "C" {
- pub fn test_fn(a: f32, arr: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
+ pub fn test_fn(
+ a: f32,
+ arr: *mut ::std::os::raw::c_int,
+ ) -> ::std::os::raw::c_int;
}
extern "C" {
- pub fn test_fn2(arr: *const f32, b: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
+ pub fn test_fn2(
+ arr: *const f32,
+ b: ::std::os::raw::c_int,
+ ) -> ::std::os::raw::c_int;
}
pub type defArr = [::std::os::raw::c_char; 20usize];
-pub type foo = ::std::option::Option<unsafe extern "C" fn(a: *mut ::std::os::raw::c_char)>;
+pub type foo =
+ ::std::option::Option<unsafe extern "C" fn(a: *mut ::std::os::raw::c_char)>;
extern "C" {
pub fn bar(a: *mut ::std::os::raw::c_char);
}