codegen: Fix floating reference regression with Variants
[vala-gnome.git] / doc / vala-gen-introspect.h2m
blob2efbff3431836ae145ebdfbda6a8ad84310b8862
1 [NAME]
2 vala-gen-introspect \- generate a GI file for GObject and glib based packages
4 [SYNOPSIS]
5 .B vala-gen-introspect \fIPKGNAME\fP \fIPKGBASE\fP
7 [DESCRIPTION]
8 .B vala-gen-introspect
9 is a utility which generates GI files from GObject and glib
10 based packages. It can be used in combination with vapigen(1) to
11 generate an API for Vala, and allow it's usage in Vala for compiling
12 to native code. \fIPKGNAME\fP is the pkg-config name of the library
13 and \fIPKGBASE\fP specifies the base directory for that package.
15 [EXAMPLES]
16 After compilation, the following command generates a GI for pango:
17 .B vala-gen-introspect pango packages/pango
18 .TP
19 This can then be converted to a Vala API as follows:
20 .B vapigen --pkg cairo --vapidir . --library pango packages/pango/pango.gi
22 [BUGS]
23 https://gitlab.gnome.org/GNOME/vala/issues
25 [HOMEPAGE or CONTACT]
26 https://wiki.gnome.org/Projects/Vala
28 [SEE ALSO]
29 vapigen (1)
31 [AUTHORS]
32 Jürg Billeter <j@bitron.ch>, Raffaele Sandrini <rasa@gmx.ch>