[vala] x11: add several type definitions from X.h



commit f72812043518c53e739514b86462d1fa4d3bbbff
Author: Alexander Kurtz <kurtz alex googlemail com>
Date:   Sat Jan 21 23:22:11 2012 -0800

    x11: add several type definitions from X.h
    
    Fixes bug 647464.

 vapi/x11.vapi |   46 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 45 insertions(+), 1 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 2f357fd..242cb46 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -1,6 +1,7 @@
 /* x11.vapi
  *
  * Copyright (C) 2009  JÃrg Billeter
+ * Copyright (C) 2011  Alexander Kurtz
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -16,8 +17,9 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
  *
- * Author:
+ * Authors:
  * 	JÃrg Billeter <j bitron ch>
+ * 	Alexander Kurtz <kurtz alex googlemail com>
  */
 
 [CCode (gir_namespace = "xlib", gir_version = "2.0", cprefix = "", lower_case_cprefix = "", cheader_filename = "X11/Xlib.h,X11/Xatom.h,X11/Xutil.h,X11/Xregion.h")]
@@ -385,6 +387,48 @@ namespace X {
 	public struct Pixmap : Drawable	{
 	}
 
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "Mask")]
+	public struct Mask {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "VisualID")]
+	public struct VisualID {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "Time")]
+	public struct Time {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "Cursor")]
+	public struct Cursor {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "GContext")]
+	public struct GContext {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "KeySym")]
+	public struct KeySym {
+	}
+
+	[SimpleType]
+	[IntegerType (rank = 9)]
+	[CCode (cname = "KeyCode")]
+	public struct KeyCode {
+	}
+
 	[CCode (ref_function = "", unref_function = "")]
 	[Compact]
 	public class Visual {



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