vbox_raw 0.4.3

FFI bindings for Rust to VirtualBox
Documentation
//! # FFI bindings for Rust to VirtualBox
//!
//! This is a low-level binding, automatically generated using bindgen.

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(dead_code)]
#![allow(improper_ctypes)]
mod error_map;
pub mod sys_lib;

pub use error_map::get_error_msg;
pub use error_map::get_error_code;
pub use error_map::BUILD_VER;
pub fn get_version() -> String {
    if cfg!(feature = "v7_2") {
        "v7_2".to_string()
    } else  if cfg!(feature = "v7_1") {
        "v7_1".to_string()
    } else if cfg!(feature = "v7_0") {
        "v7_0".to_string()
    } else if cfg!(feature = "v6_1") {
        "v6_1".to_string()
    } else {
        "v7_2".to_string()
    }
}