1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(unused_imports)]
use crate::*;
use std::os::raw::*;
#[repr(C, align(8))]
#[derive(Clone)]
pub struct Imf_3_0__DeepScanLineOutputPart_t {
_inner: [u8; 8]
}
impl Default for Imf_3_0__DeepScanLineOutputPart_t {
fn default() -> Self {
Self { _inner: [0u8; 8] }
}
}
impl Imf_3_0__DeepScanLineOutputPart_t {
pub fn layout() -> std::alloc::Layout {
unsafe {
std::alloc::Layout::from_size_align(
Imf_3_0__DeepScanLineOutputPart_sizeof(),
Imf_3_0__DeepScanLineOutputPart_alignof(),
).unwrap()
}
}
}
extern "C" {
pub fn Imf_3_0__DeepScanLineOutputPart_sizeof() -> usize;
pub fn Imf_3_0__DeepScanLineOutputPart_alignof() -> usize;
pub fn Imf_3_0__DeepScanLineOutputPart_ctor(this_: *mut Imf_DeepScanLineOutputPart_t, multi_part_file: *mut Imf_MultiPartOutputFile_t, part_number: c_int) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_fileName(this_: *const Imf_DeepScanLineOutputPart_t, return_: *mut *const c_char) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_header(this_: *const Imf_DeepScanLineOutputPart_t, return_: *mut *const Imf_Header_t) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_setFrameBuffer(this_: *mut Imf_DeepScanLineOutputPart_t, frame_buffer: *const Imf_DeepFrameBuffer_t) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_frameBuffer(this_: *const Imf_DeepScanLineOutputPart_t, return_: *mut *const Imf_DeepFrameBuffer_t) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_writePixels(this_: *mut Imf_DeepScanLineOutputPart_t, num_scan_lines: c_int) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_currentScanLine(this_: *const Imf_DeepScanLineOutputPart_t, return_: *mut c_int) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_copyPixels_from_file(this_: *mut Imf_DeepScanLineOutputPart_t, in_: *mut Imf_DeepScanLineInputFile_t) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_copyPixels_from_part(this_: *mut Imf_DeepScanLineOutputPart_t, in_: *mut Imf_DeepScanLineInputPart_t) -> Exception;
pub fn Imf_3_0__DeepScanLineOutputPart_updatePreviewImage(this_: *mut Imf_DeepScanLineOutputPart_t, new_pixels: *const Imf_PreviewRgba_t) -> Exception;
}