Struct safe_bindgen::LangC[][src]

pub struct LangC { /* fields omitted */ }

Methods

impl LangC
[src]

Compile the header declarations then add the needed #includes.

Currently includes:

  • stdint.h
  • stdbool.h

Set the name of the native library.

Adds manual C code into the top-level header - can be useful for typedefs, like e.g. opaque pointers.

Transform a Rust FFI function into a C function decl

Trait Implementations

impl Default for LangC
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for LangC

impl Sync for LangC