Skip to main content

max_sys/
lib.rs

1//! Raw FFI bindings to the Modular MAX C API.
2//!
3//! Generated by bindgen from the headers in `max/include/max/c/`.
4//! These are opaque-struct-based bindings — you interact through
5//! function pointers, not by reading struct fields directly.
6//!
7//! For a safe, ergonomic API, use `pyroxide` instead.
8
9#![allow(non_upper_case_globals, reason = "C API naming convention")]
10#![allow(non_camel_case_types, reason = "C API naming convention")]
11#![allow(non_snake_case, reason = "C API naming convention")]
12#![allow(dead_code, reason = "bindgen generates all symbols; not all are used")]
13#![allow(clippy::pedantic, reason = "generated code, not hand-written")]
14#![allow(clippy::unwrap_used, reason = "generated code, not hand-written")]
15
16include!(concat!(env!("OUT_DIR"), "/bindings.rs"));