diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-05-08 12:25:20 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-08-06 14:01:36 +0200 |
commit | b7fc3cb770588b35bd208963be95b3de44a30467 (patch) | |
tree | 88583839ec2ac46680a7b2ea02f6a613b00911d4 | |
parent | 7050633d2f663480d15b90866372c7489c9eac97 (diff) | |
download | vala-b7fc3cb770588b35bd208963be95b3de44a30467.tar.gz |
cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/bitmasks
Fixes https://gitlab.gnome.org/GNOME/vala/issues/794
-rw-r--r-- | vapi/cogl-1.0.vapi | 6 | ||||
-rw-r--r-- | vapi/packages/cogl-1.0/cogl-1.0.metadata | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi index 0083631c6..f9c484cb7 100644 --- a/vapi/cogl-1.0.vapi +++ b/vapi/cogl-1.0.vapi @@ -704,13 +704,13 @@ namespace Cogl { [CCode (cheader_filename = "cogl/cogl.h")] public static bool get_backface_culling_enabled (); [CCode (cheader_filename = "cogl/cogl.h")] - public static void get_bitmasks (int red, int green, int blue, int alpha); + public static void get_bitmasks (out int red, out int green, out int blue, out int alpha); [CCode (cheader_filename = "cogl/cogl.h")] public static bool get_depth_test_enabled (); [CCode (cheader_filename = "cogl/cogl.h")] public static Cogl.FeatureFlags get_features (); [CCode (cheader_filename = "cogl/cogl.h")] - public static void get_modelview_matrix (Cogl.Matrix matrix); + public static void get_modelview_matrix (out Cogl.Matrix matrix); [CCode (cheader_filename = "cogl/cogl.h")] public static GLib.OptionGroup get_option_group (); [CCode (cheader_filename = "cogl/cogl.h")] @@ -718,7 +718,7 @@ namespace Cogl { [CCode (cheader_filename = "cogl/cogl.h")] public static unowned Cogl.FuncPtr get_proc_address (string name); [CCode (cheader_filename = "cogl/cogl.h")] - public static void get_projection_matrix (Cogl.Matrix matrix); + public static void get_projection_matrix (out Cogl.Matrix matrix); [CCode (cheader_filename = "cogl/cogl.h")] public static void get_viewport ([CCode (array_length = false)] float[] v); [CCode (cheader_filename = "cogl/cogl.h")] diff --git a/vapi/packages/cogl-1.0/cogl-1.0.metadata b/vapi/packages/cogl-1.0/cogl-1.0.metadata index 85026ec17..3cb184e8f 100644 --- a/vapi/packages/cogl-1.0/cogl-1.0.metadata +++ b/vapi/packages/cogl-1.0/cogl-1.0.metadata @@ -48,6 +48,10 @@ cogl_matrix_init_from_array hidden="1" cogl_matrix_init_identity hidden="1" cogl_matrix_transform_point.* is_ref="1" +cogl_get_modelview_matrix.matrix is_out="1" +cogl_get_projection_matrix.matrix is_out="1" +cogl_get_bitmasks.* is_out="1" + CoglPango* cheader_filename="cogl-pango/cogl-pango.h" cogl_pango_ensure_glyph_cache_for_layout cheader_filename="cogl-pango/cogl-pango.h" cogl_pango_render_* cheader_filename="cogl-pango/cogl-pango.h" |