[vala/0.40] glib-2.0: Add GLib.pointer aka gpointer binding



commit 638785373bf3390deaba74c584c15df234c26c6f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Nov 21 20:20:59 2018 +0100

    glib-2.0: Add GLib.pointer aka gpointer binding

 vapi/glib-2.0.vapi | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index dca9615cf..f2d653a99 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1563,6 +1563,12 @@ public class string16 {
 
 [CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "glib.h", gir_namespace = "GLib", 
gir_version = "2.0")]
 namespace GLib {
+       [PointerType]
+       [GIR (fullname = "gpointer")]
+       [CCode (cname = "gpointer", const_cname = "gconstpointer", cheader_filename = "glib.h")]
+       public struct pointer {
+       }
+
        [CCode (lower_case_cprefix = "", cheader_filename = "math.h")]
        namespace Math {
                [CCode (cname = "G_E")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]