mirror of
https://github.com/tribufu/sdk-rust
synced 2025-06-15 18:54:19 +00:00
22 lines
414 B
Rust
22 lines
414 B
Rust
// 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);
|
|
}
|
|
}
|