#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
use super::{OHNativeWindow, OHNativeWindowBuffer};
#[cfg(feature = "native_buffer")]
use crate::native_buffer::OH_NativeBuffer;
#[cfg(not(feature = "native_buffer"))]
#[repr(C)]
pub struct OH_NativeBuffer {
_unused: [u8; 0],
}
extern "C" {
pub fn OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(
nativeBuffer: *mut OH_NativeBuffer,
) -> *mut OHNativeWindowBuffer;
}
extern "C" {
pub fn OH_NativeWindow_GetLastFlushedBuffer(
window: *mut OHNativeWindow,
buffer: *mut *mut OHNativeWindowBuffer,
fenceFd: *mut ::core::ffi::c_int,
matrix: *mut f32,
) -> i32;
}