comparison m_option.h @ 36765:97446d4850cc

m_option, vf_scale: Add some missing const.
author reimar
date Sun, 16 Feb 2014 16:29:59 +0000
parents 1495455e6d22
children
comparison
equal deleted inserted replaced
36764:b11dc6175323 36765:97446d4850cc
120 extern const m_option_type_t m_option_type_obj_settings_list; 120 extern const m_option_type_t m_option_type_obj_settings_list;
121 121
122 /// Extra definition needed for \ref m_option_type_obj_presets options. 122 /// Extra definition needed for \ref m_option_type_obj_presets options.
123 typedef struct { 123 typedef struct {
124 /// Description of the struct holding the presets. 124 /// Description of the struct holding the presets.
125 struct m_struct_st* in_desc; 125 const struct m_struct_st* in_desc;
126 /// Description of the struct that should be set by the presets. 126 /// Description of the struct that should be set by the presets.
127 struct m_struct_st* out_desc; 127 const struct m_struct_st* out_desc;
128 /// Pointer to an array of structs defining the various presets. 128 /// Pointer to an array of structs defining the various presets.
129 void* presets; 129 const void* presets;
130 /// Offset of the preset's name inside the in_struct. 130 /// Offset of the preset's name inside the in_struct.
131 void* name_off; 131 const void* name_off;
132 } m_obj_presets_t; 132 } m_obj_presets_t;
133 133
134 /// Set several fields in a struct at once. 134 /// Set several fields in a struct at once.
135 /** For this two struct descriptions are used. One for the struct holding the 135 /** For this two struct descriptions are used. One for the struct holding the
136 * preset and one for the struct beeing set. Every field present in both 136 * preset and one for the struct beeing set. Every field present in both