oxiblas_ffi/lib.rs
1//! C FFI bindings for OxiBLAS.
2//!
3//! This module provides C-compatible functions for BLAS and LAPACK operations.
4//!
5//! # Usage
6//!
7//! Link against the generated shared library (liboblas.so, liboblas.dylib, or oblas.dll)
8//! and include the provided C header file.
9//!
10//! # Safety
11//!
12//! All functions in this module are `unsafe` as they work with raw pointers from C code.
13//! The caller is responsible for ensuring:
14//! - All pointers are valid and properly aligned
15//! - Array dimensions are correct
16//! - Memory is not aliased inappropriately
17
18pub mod blas1;
19pub mod blas2;
20pub mod blas3;
21pub mod lapack;
22pub mod types;
23
24// Re-export common types
25pub use types::*;