Rustでいろいろやってみるテスト
リビジョン | 0f8796b640c89cf72f0e388a3d8fc8a2d160ec7e (tree) |
---|---|
日時 | 2016-12-12 17:55:15 |
作者 | ornse01 <ornse01@user...> |
コミッター | ornse01 |
fix undefined symbol.
@@ -13,14 +13,14 @@ pub extern fn minus_one(x: i32) -> i32 { | ||
13 | 13 | |
14 | 14 | extern { |
15 | 15 | fn link_confirmation(value: i32) -> i32; |
16 | - fn chg_pri(id: i32, pri: i32, opt: i32) -> i32; | |
16 | + fn b_chg_pri(id: i32, pri: i32, opt: i32) -> i32; | |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[no_mangle] |
20 | 20 | pub extern fn sample_call(value: i32) -> i32 { |
21 | 21 | unsafe { |
22 | 22 | link_confirmation(value); |
23 | - let err = chg_pri(0, 0, 0); | |
23 | + let err = b_chg_pri(0, 0, 0); | |
24 | 24 | err |
25 | 25 | } |
26 | 26 | } |