diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-22 12:00:47 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-23 11:40:35 +0100 |
commit | 44690e3a5c73f9df364d3548bf367a4198953eac (patch) | |
tree | b76cf91f331b7f4561f1298794388b7668bba484 /libbindgen/tests | |
parent | 4472e0a5e60765611e980795de7c3c3a7e244ad5 (diff) |
codegen: Use the canonical type to generate function signatures.
Diffstat (limited to 'libbindgen/tests')
-rw-r--r-- | libbindgen/tests/expectations/tests/resolved_type_def_function.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbindgen/tests/expectations/tests/resolved_type_def_function.rs b/libbindgen/tests/expectations/tests/resolved_type_def_function.rs index fb308fa4..83f07dd0 100644 --- a/libbindgen/tests/expectations/tests/resolved_type_def_function.rs +++ b/libbindgen/tests/expectations/tests/resolved_type_def_function.rs @@ -5,3 +5,6 @@ pub type FuncType = ::std::option::Option<unsafe extern "C" fn()>; +extern "C" { + pub fn Func(); +} |