deno-bindgen2 1.0.0

An FFI bindings generator for Deno
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused_imports)]

pub use deno_bindgen2_macro::*;
pub use deno_bindgen2_utils::*;

/// Trait to let the tool identify a user-defined type/struct.
/// Used by the macro to auto-generate a drop implementation for a struct
/// When overriding this trait, make sure to provide a drop implementation
pub trait DenoBindgen {}

#[no_mangle]
pub static DENO_BINDGEN_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");

#[no_mangle]
pub static DENO_BINDGEN_PKG_NAME: &str = env!("CARGO_PKG_NAME");