battery-ffi 0.1.5

FFI bindings for battery crate
Documentation

battery-ffi

Latest Version Latest Version Build Status dependency status Apache 2.0 OR MIT licensed

This is a FFI bindings for battery library.

See the documentation for available functions.

Bindings generation

Among library creation this crate generates battery_ffi.h file, which might be useful for automatic bindings generation or just with plain C/C++.

After build it will be located somewhere at target/*/build/battery-ffi-*/out/, depending on build profile (debug/release) and build hash.

Examples

battery-ffi/examples/ folder in the repository contains examples for C and Python.