2026-02-15 11:41:23 +08:00
|
|
|
//! 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.
|
|
|
|
|
|
2026-02-05 17:18:48 +08:00
|
|
|
use std::ffi::{CStr, CString};
|
|
|
|
|
use std::os::raw::{c_float, c_void};
|
|
|
|
|
//use std::ptr;
|
|
|
|
|
|
2026-02-09 22:28:46 +08:00
|
|
|
#[rustfmt::skip]
|
2026-02-05 17:18:48 +08:00
|
|
|
#[link(name = "BMap", kind = "dylib")]
|
|
|
|
|
unsafe extern "C" {
|
|
|
|
|
pub unsafe fn BMInit() -> bool;
|
|
|
|
|
pub unsafe fn BMDispose() -> bool;
|
|
|
|
|
}
|