libktx_rs_sys/lib.rs
1// Copyright (C) 2021 Paolo Jovon <paolo.jovon@gmail.com>
2// SPDX-License-Identifier: Apache-2.0
3
4//! A low-level Rust wrapper over [KhronosGroup/KTX-Software](https://github.com/KhronosGroup/KTX-Software),
5//! a library for reading, transcoding and writing [Khronos Textures (KTX)](https://www.khronos.org/ktx/).
6//!
7//! You very likely want to use the high-level wrapper, [`libktx_rs`] instead of this crate!
8
9#![allow(non_camel_case_types)]
10#![allow(non_snake_case)]
11#![allow(non_upper_case_globals)]
12#![allow(deref_nullptr)] // (for the tests generated by bindgen)
13
14#[cfg(feature = "run-bindgen")]
15include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
16#[cfg(not(feature = "run-bindgen"))]
17include!("ffi.rs");
18
19pub type ktxStream__data = ktxStream__bindgen_ty_1;
20pub type ktxStream__custom_ptr = __BindgenUnionField<ktxStream__bindgen_ty_1__bindgen_ty_1>;