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
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#![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(4))]
#[derive(Clone)]
pub struct Imf_3_0__Channel_t {
    pub type_: Imf_PixelType,
    pub x_sampling: c_int,
    pub y_sampling: c_int,
    pub p_linear: bool,
}

#[repr(C)]
pub struct Imf_3_0__ChannelList_t {
    _unused: [u8; 0],
}
#[repr(C, align(8))]
#[derive(Clone)]
pub struct Imf_3_0__ChannelList__Iterator_t {
    _inner: [u8; 8]
}

impl Default for Imf_3_0__ChannelList__Iterator_t {
    fn default() -> Self {
        Self { _inner: [0u8; 8] }
    }
}

impl Imf_3_0__ChannelList__Iterator_t {
    pub fn layout() -> std::alloc::Layout {
        unsafe {
            std::alloc::Layout::from_size_align(
                Imf_3_0__ChannelList__Iterator_sizeof(),
                Imf_3_0__ChannelList__Iterator_alignof(),
            ).unwrap()
        }
    }
}

#[repr(C, align(8))]
#[derive(Clone)]
pub struct Imf_3_0__ChannelList__ConstIterator_t {
    _inner: [u8; 8]
}

impl Default for Imf_3_0__ChannelList__ConstIterator_t {
    fn default() -> Self {
        Self { _inner: [0u8; 8] }
    }
}

impl Imf_3_0__ChannelList__ConstIterator_t {
    pub fn layout() -> std::alloc::Layout {
        unsafe {
            std::alloc::Layout::from_size_align(
                Imf_3_0__ChannelList__ConstIterator_sizeof(),
                Imf_3_0__ChannelList__ConstIterator_alignof(),
            ).unwrap()
        }
    }
}



extern "C" {

pub fn Imf_3_0__Channel_ctor(this_: *mut Imf_Channel_t, type_: Imf_PixelType, x_sampling: c_int, y_sampling: c_int, p_linear: bool) -> Exception;

pub fn Imf_3_0__Channel__eq(this_: *const Imf_Channel_t, return_: *mut bool, other: *const Imf_Channel_t) -> Exception;

pub fn Imf_3_0__Channel_dtor(this_: *mut Imf_Channel_t) -> Exception;

pub fn Imf_3_0__Channel_copy(this_: *mut Imf_Channel_t, rhs: *const Imf_Channel_t) -> Exception;

pub fn Imf_3_0__Channel_move(this_: *mut Imf_Channel_t, rhs: *mut Imf_Channel_t) -> Exception;

pub fn Imf_3_0__ChannelList_insert(this_: *mut Imf_ChannelList_t, name: *const c_char, channel: *const Imf_Channel_t) -> Exception;

pub fn Imf_3_0__ChannelList_findChannel(this_: *mut Imf_ChannelList_t, return_: *mut *mut Imf_Channel_t, name: *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList_findChannel_const(this_: *const Imf_ChannelList_t, return_: *mut *const Imf_Channel_t, name: *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList_begin(this_: *mut Imf_ChannelList_t, return_: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_begin_const(this_: *const Imf_ChannelList_t, return_: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_end(this_: *mut Imf_ChannelList_t, return_: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_end_const(this_: *const Imf_ChannelList_t, return_: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_find(this_: *mut Imf_ChannelList_t, return_: *mut Imf_ChannelList_Iterator_t, name: *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList_find_const(this_: *const Imf_ChannelList_t, return_: *mut Imf_ChannelList_ConstIterator_t, name: *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList_layers(this_: *const Imf_ChannelList_t, layer_names: *mut std_set_string_t) -> Exception;

pub fn Imf_3_0__ChannelList_channelsInLayer(this_: *mut Imf_ChannelList_t, layer_name: *const std_string_t, first: *mut Imf_ChannelList_Iterator_t, last: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_channelsInLayer_const(this_: *const Imf_ChannelList_t, layer_name: *const std_string_t, first: *mut Imf_ChannelList_ConstIterator_t, last: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_channelsWithPrefix(this_: *mut Imf_ChannelList_t, prefix: *const c_char, first: *mut Imf_ChannelList_Iterator_t, last: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList_channelsWithPrefix_const(this_: *const Imf_ChannelList_t, prefix: *const c_char, first: *mut Imf_ChannelList_ConstIterator_t, last: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__eq(this_: *const Imf_ChannelList_t, return_: *mut bool, other: *const Imf_ChannelList_t) -> Exception;

pub fn Imf_3_0__ChannelList_copy(this_: *mut *mut Imf_ChannelList_t, rhs: *const Imf_ChannelList_t) -> Exception;

pub fn Imf_3_0__ChannelList_dtor(this_: *mut Imf_ChannelList_t) -> Exception;

pub fn Imf_3_0__ChannelList_ctor(this_: *mut *mut Imf_ChannelList_t) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator_sizeof() -> usize;

pub fn Imf_3_0__ChannelList__Iterator_alignof() -> usize;

pub fn Imf_3_0__ChannelList__Iterator_ctor(this_: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator__op_inc(this_: *mut Imf_ChannelList_Iterator_t, return_: *mut *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator_name(this_: *const Imf_ChannelList_Iterator_t, return_: *mut *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator_channel(this_: *const Imf_ChannelList_Iterator_t, return_: *mut *mut Imf_Channel_t) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator_copy(this_: *mut Imf_ChannelList_Iterator_t, rhs: *const Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__Iterator_move(this_: *mut Imf_ChannelList_Iterator_t, rhs: *mut Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_sizeof() -> usize;

pub fn Imf_3_0__ChannelList__ConstIterator_alignof() -> usize;

pub fn Imf_3_0__ChannelList__ConstIterator_ctor(this_: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_from_mut(this_: *mut Imf_ChannelList_ConstIterator_t, rhs: *const Imf_ChannelList_Iterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator__op_inc(this_: *mut Imf_ChannelList_ConstIterator_t, return_: *mut *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_name(this_: *const Imf_ChannelList_ConstIterator_t, return_: *mut *const c_char) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_channel(this_: *const Imf_ChannelList_ConstIterator_t, return_: *mut *const Imf_Channel_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_copy(this_: *mut Imf_ChannelList_ConstIterator_t, rhs: *const Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0__ChannelList__ConstIterator_move(this_: *mut Imf_ChannelList_ConstIterator_t, rhs: *mut Imf_ChannelList_ConstIterator_t) -> Exception;

pub fn Imf_3_0_channel_list_const_iter_eq(return_: *mut bool, _param0: *const Imf_ChannelList_ConstIterator_t, _param1: *const Imf_ChannelList_ConstIterator_t) -> Exception;


} // extern "C"