[vala/staging] cairo: Fix some ctor binding errors
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] cairo: Fix some ctor binding errors
- Date: Tue, 26 Jan 2021 12:04:21 +0000 (UTC)
commit b2e9ff02e3926c326a3d9ad46a1aac73f9aead6c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 26 13:03:17 2021 +0100
cairo: Fix some ctor binding errors
vapi/cairo.vapi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi
index 42769be57..f08460e75 100644
--- a/vapi/cairo.vapi
+++ b/vapi/cairo.vapi
@@ -374,7 +374,7 @@ namespace Cairo {
[Compact]
public class RasterSourcePattern : Cairo.Pattern {
[CCode (cname = "cairo_pattern_create_raster_source")]
- public RasterSourcePattern ();
+ public RasterSourcePattern (void* data, Cairo.Content content, int width, int height);
public void get_acquire (out Cairo.RasterSourceAcquireFunc acquire, out
Cairo.RasterSourceReleaseFunc release);
public void* get_callback_data ();
public Cairo.RasterSourceCopyFunc get_copy ();
@@ -475,7 +475,7 @@ namespace Cairo {
[CCode (cname = "cairo_script_create_for_stream")]
public Script.for_stream (Cairo.WriteFunc write_func);
[CCode (cname = "cairo_script_from_recording_surface")]
- public Script.from_recording_surface ([CCode (type = "cairo_surface_t")]
Cairo.RecordingSurface recording_surface);
+ public static Cairo.Status from_recording_surface (out Cairo.Script script,
Cairo.RecordingSurface recording_surface);
public Cairo.ScriptMode get_mode ();
public void set_mode (Cairo.ScriptMode mode);
public void write_comment (string comment, int len = -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]