| commit | e3b78ea4092bd52202168fd27ee888259e5f3a1e | [log] [tgz] |
|---|---|---|
| author | myronahn <myronahn@gmail.com> | Sat May 23 01:08:13 2020 +0700 |
| committer | GitHub <noreply@github.com> | Fri May 22 11:08:13 2020 -0700 |
| tree | 4164316aba80d45e9b94dc3512871780e4f6c33a | |
| parent | ef8fd19a3bbb5098ea13021073daf9a840c6bcc1 [diff] [blame] |
Fix issue with indirect return for C++ member function w/no args
diff --git a/tests/ffi/lib.rs b/tests/ffi/lib.rs index d4e96fc..51716e0 100644 --- a/tests/ffi/lib.rs +++ b/tests/ffi/lib.rs
@@ -83,6 +83,8 @@ fn set(self: &mut C, n: usize) -> usize; fn get2(&self) -> usize; fn set2(&mut self, n: usize) -> usize; + fn set_succeed(&mut self, n: usize) -> Result<usize>; + fn get_fail(&mut self) -> Result<usize>; } extern "C" {