summaryrefslogtreecommitdiff
path: root/doc/vala-gen-introspect.h2m
blob: 3bc4437efe4adbbcd5dd877b8d63033ea737b71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[NAME]
vala-gen-introspect \- generate a GI file for GObject and glib based packages

[SYNOPSIS]
.B vala-gen-introspect \fIPKGNAME\fP \fIPKGBASE\fP

[DESCRIPTION]
.B vala-gen-introspect
is a utility which generates GI files from GObject and glib
based packages. It can be used in combination with vapigen(1) to
generate an API for Vala, and allow its usage in Vala for compiling
to native code. \fIPKGNAME\fP is the pkg-config name of the library
and \fIPKGBASE\fP specifies the base directory for that package.

[EXAMPLES]
After compilation, the following command generates a GI for pango:
.B vala-gen-introspect pango packages/pango
.TP
This can then be converted to a Vala API as follows:
.B vapigen --pkg cairo --vapidir . --library pango packages/pango/pango.gi

[BUGS]
https://gitlab.gnome.org/GNOME/vala/issues

[HOMEPAGE or CONTACT]
https://wiki.gnome.org/Projects/Vala

[SEE ALSO]
vapigen (1)

[AUTHORS]
Jürg Billeter, Raffaele Sandrini.