# bindings/
Auto-generated FFI bindings for C, C++, and JavaScript/WASM.
Generated by [Diplomat](https://github.com/rust-diplomat/diplomat) from [`src/ffi.rs`](../src/ffi.rs).
## Structure
| `c/` | C | `#include "VaeaNtt32.h"` |
| `cpp/` | C++ | `#include "VaeaNtt32.hpp"` |
| `js/` | JavaScript/TypeScript | `import { VaeaNtt32 } from './index.mjs'` |
## Regeneration
```bash
cargo install diplomat-tool
diplomat-tool c bindings/c -e src/ffi.rs
diplomat-tool cpp bindings/cpp -e src/ffi.rs
diplomat-tool js bindings/js -e src/ffi.rs
```
## Requirements
Enable the `ffi` feature in `Cargo.toml`:
```toml
[dependencies]
vaea-ntt = { version = "0.1", features = ["ffi"] }
```