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.rs17
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/expectations/tests/without_array_pointers_arguments.rs b/tests/expectations/tests/without_array_pointers_arguments.rs
index a8d9990a..b6168937 100644
--- a/tests/expectations/tests/without_array_pointers_arguments.rs
+++ b/tests/expectations/tests/without_array_pointers_arguments.rs
@@ -8,14 +8,13 @@
)]
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;
-} \ No newline at end of file
+ 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)>;
+extern "C" {
+ pub fn bar(a: *mut ::std::os::raw::c_char);
+}