1
0

refactor: merge 2 rust crate in one

This commit is contained in:
2026-02-15 11:41:23 +08:00
parent ade1eadd50
commit 763255d2a7
18 changed files with 69 additions and 38 deletions

View File

@@ -0,0 +1,15 @@
//! The module contains raw FFI bindings to native BMap library.
//!
//! For the user of this library, use `bmap_wrapper` instead of this module,
//! except you really need these raw calling and know what you are doing.
use std::ffi::{CStr, CString};
use std::os::raw::{c_float, c_void};
//use std::ptr;
#[rustfmt::skip]
#[link(name = "BMap", kind = "dylib")]
unsafe extern "C" {
pub unsafe fn BMInit() -> bool;
pub unsafe fn BMDispose() -> bool;
}