1
0

feat: add rust binding framework

This commit is contained in:
2026-02-05 17:18:48 +08:00
parent 6d41e593bc
commit 8bc0792f1e
9 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
use std::ffi::{CStr, CString};
use std::os::raw::{c_float, c_void};
//use std::ptr;
#[link(name = "BMap", kind = "dylib")]
unsafe extern "C" {
pub unsafe fn BMInit() -> bool;
pub unsafe fn BMDispose() -> bool;
}