[gobject-introspection] Add win32-1.0.gir
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Add win32-1.0.gir
- Date: Fri, 2 Aug 2013 22:59:18 +0000 (UTC)
commit fbf303a972195f009b8bb37d77212f089a74d20e
Author: Colin Walters <walters verbum org>
Date: Fri Aug 2 18:56:46 2013 -0400
Add win32-1.0.gir
So for doing the GTK+ stack with gobject-introspection on Windows, we
basically need to stub out the win32 types just like we do for xlib.
Contributed by serenomickael gmail com
Makefile-gir.am | 3 ++-
gir/win32-1.0.gir | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 2b39e54..848655c 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -11,7 +11,8 @@ STATIC_GIRSOURCES = \
gir/xft-2.0.gir \
gir/xlib-2.0.gir \
gir/xfixes-4.0.gir \
- gir/xrandr-1.3.gir
+ gir/xrandr-1.3.gir \
+ gir/win32-1.0.gir
EXTRA_DIST += $(STATIC_GIRSOURCES)
gir/cairo-1.0.gir: gir/cairo-1.0.gir.in Makefile
diff --git a/gir/win32-1.0.gir b/gir/win32-1.0.gir
new file mode 100644
index 0000000..ac9db85
--- /dev/null
+++ b/gir/win32-1.0.gir
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<repository version="1.2"
+ xmlns="http://www.gtk.org/introspection/core/1.0"
+ xmlns:c="http://www.gtk.org/introspection/c/1.0">
+ <namespace name="win32" version="1.0"
+ c:identifier-prefixes=""
+ c:symbol-prefixes="Win32">
+ <alias name="HWND" c:type="HWND">
+ <type name="guint" c:type="guint"/>
+ </alias>
+ <alias name="HICON" c:type="HICON">
+ <type name="gulong" c:type="gulong"/>
+ </alias>
+ <alias name="HGDIOBJ" c:type="HGDIOBJ">
+ <type name="gulong" c:type="gulong"/>
+ </alias>
+ </namespace>
+</repository>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]