2
0
mirror of https://github.com/tribufu/sdk-rust synced 2025-06-19 12:34:19 +00:00

Create Rust Project

This commit is contained in:
GuilhermeWerner
2021-02-24 09:12:23 -03:00
parent b456f20a4f
commit 36df99c7e0
13 changed files with 230 additions and 0 deletions

21
Source/Account/Device.rs Normal file

@ -0,0 +1,21 @@
// Copyright (c) TribuFu. All Rights Reserved
use libc::c_char;
pub fn GetDevice(id: *const c_char) {}
pub fn GetUserDevices(id: *const c_char) {}
mod External {
use libc::c_char;
#[no_mangle]
pub extern "C" fn GetDevice(id: *const c_char) {
super::GetDevice(id);
}
#[no_mangle]
pub extern "C" fn GetUserDevices(id: *const c_char) {
super::GetUserDevices(id);
}
}