~ubuntu-branches/ubuntu/maverick/vala/maverick

« back to all changes in this revision

Viewing changes to vapi/gdk-pixbuf-2.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-04-02 10:10:55 UTC
  • mfrom: (1.4.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402101055-qbx3okzv0tnp3wpp
Tags: 0.8.0-0ubuntu1
* New upstream release:
  - Infer type arguments when calling generic methods.
  - Support `in' operator for arrays.
  - Add experimental support for regular expression literals.
  - Add experimental support for chained relational expressions.
  - Add va_list support.
  - Add clutter-gtk-0.10 bindings (Gordon Allott).
  - Add gdl-1.0 bindings (Nicolas Joseph).
  - Add gstreamer-app-0.10 bindings (Sebastian Dröge).
  - Add gstreamer-cdda-0.10 bindings (Sebastian Dröge).
  - Add gudev-1.0 bindings (Jim Nelson).
  - Add libgda-report-4.0 bindings (Shawn Ferris).
  - Add libgvc (graphviz) bindings (Martin Olsson).
  - Add purple bindings (Adrien Bustany).
  - Many bug fixes and binding updates.
* debian/patches/99_ltmain_as-needed.patch: refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
                [CCode (has_construct_function = false)]
122
122
                public PixbufSimpleAnim (int width, int height, float rate);
123
123
                public void add_frame (Gdk.Pixbuf pixbuf);
 
124
                public bool get_loop ();
 
125
                public void set_loop (bool loop);
 
126
                public bool loop { get; set; }
124
127
        }
125
128
        [Compact]
126
129
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
160
163
                BILEVEL,
161
164
                FULL
162
165
        }
163
 
        [CCode (cprefix = "GDK_PIXBUF_ERROR_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
164
 
        public enum PixbufError {
165
 
                CORRUPT_IMAGE,
166
 
                INSUFFICIENT_MEMORY,
167
 
                BAD_OPTION,
168
 
                UNKNOWN_TYPE,
169
 
                UNSUPPORTED_OPERATION,
170
 
                FAILED
171
 
        }
172
166
        [CCode (cprefix = "GDK_PIXBUF_ROTATE_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
173
167
        public enum PixbufRotation {
174
168
                NONE,
176
170
                UPSIDEDOWN,
177
171
                CLOCKWISE
178
172
        }
179
 
        [CCode (cprefix = "GDK_PIXDATA_DUMP_", has_type_id = "0", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
 
173
        [CCode (cprefix = "GDK_PIXDATA_DUMP_", has_type_id = false, cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
180
174
        public enum PixdataDumpType {
181
175
                PIXDATA_STREAM,
182
176
                PIXDATA_STRUCT,
187
181
                CONST,
188
182
                RLE_DECODER
189
183
        }
190
 
        [CCode (cprefix = "GDK_PIXDATA_", has_type_id = "0", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
 
184
        [CCode (cprefix = "GDK_PIXDATA_", has_type_id = false, cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
191
185
        public enum PixdataType {
192
186
                COLOR_TYPE_RGB,
193
187
                COLOR_TYPE_RGBA,
198
192
                ENCODING_RLE,
199
193
                ENCODING_MASK
200
194
        }
 
195
        [CCode (cprefix = "GDK_PIXBUF_ERROR_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
 
196
        public errordomain PixbufError {
 
197
                CORRUPT_IMAGE,
 
198
                INSUFFICIENT_MEMORY,
 
199
                BAD_OPTION,
 
200
                UNKNOWN_TYPE,
 
201
                UNSUPPORTED_OPERATION,
 
202
                FAILED,
 
203
        }
201
204
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
202
 
        public delegate void PixbufDestroyNotify (uchar[] pixels);
 
205
        public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uchar[] pixels);
203
206
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
204
207
        public delegate bool PixbufSaveFunc (string buf, size_t count, GLib.Error error);
205
208
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]