diff options
author | Colin Walters <walters@verbum.org> | 2013-08-02 18:56:46 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-08-02 18:59:10 -0400 |
commit | fbf303a972195f009b8bb37d77212f089a74d20e (patch) | |
tree | 8086fd44be2ac5c814a905993e9966ce89c2353f | |
parent | f299e2512769030b76e6ef7662f95194b972450e (diff) | |
download | gobject-introspection-fbf303a972195f009b8bb37d77212f089a74d20e.tar.gz |
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
-rw-r--r-- | Makefile-gir.am | 3 | ||||
-rw-r--r-- | gir/win32-1.0.gir | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am index 2b39e546..848655c9 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 00000000..ac9db850 --- /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> + |