• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamewindowspythonphpguic翻訳omegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

Rustでいろいろやってみるテスト


Commit MetaInfo

Revision0f8796b640c89cf72f0e388a3d8fc8a2d160ec7e (tree)
Time2016-12-12 17:55:15
Authorornse01 <ornse01@user...>
Commiterornse01

Log Message

fix undefined symbol.

Change Summary

Incremental Difference

--- a/rlib/src/lib.rs
+++ b/rlib/src/lib.rs
@@ -13,14 +13,14 @@ pub extern fn minus_one(x: i32) -> i32 {
1313
1414 extern {
1515 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;
1717 }
1818
1919 #[no_mangle]
2020 pub extern fn sample_call(value: i32) -> i32 {
2121 unsafe {
2222 link_confirmation(value);
23- let err = chg_pri(0, 0, 0);
23+ let err = b_chg_pri(0, 0, 0);
2424 err
2525 }
2626 }