summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-03-24 12:37:20 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-04-07 11:23:34 +0200
commit30498e16eab020c4c25e4489d7ff5ea4e8443f3b (patch)
treeb5e24516e55c340292d39d163c256ee3a9cb0e76
parent9d97aee50f2f25636ef268b11909b3d1d9450bf4 (diff)
downloadgobject-introspection-30498e16eab020c4c25e4489d7ff5ea4e8443f3b.tar.gz
docs: include '--c-include' in g-ir-scanner man page. Fixes #275
-rw-r--r--docs/g-ir-scanner.14
-rw-r--r--docs/website/tools/g-ir-scanner.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/g-ir-scanner.1 b/docs/g-ir-scanner.1
index 2078d927..c890291e 100644
--- a/docs/g-ir-scanner.1
+++ b/docs/g-ir-scanner.1
@@ -90,6 +90,10 @@ Include this directory in the list of directories to be searched for
header files. You need to pass to the scanner all the directories you\(aqd
normally pass to the compiler when using the specified source files.
.TP
+.BI \-\-c\-include\fB= C_INCLUDES
+Headers which should be included in C programs. This option can be
+specified multiple times to include more than one header.
+.TP
.BI \-n\fP,\fB \-\-namespace\fB= NAME
The namespace name. This name should be capitalized, eg the first letter
should be upper case. Examples: Gtk, Clutter, WebKit.
diff --git a/docs/website/tools/g-ir-scanner.rst b/docs/website/tools/g-ir-scanner.rst
index d59e7ccc..fc6abe3e 100644
--- a/docs/website/tools/g-ir-scanner.rst
+++ b/docs/website/tools/g-ir-scanner.rst
@@ -75,6 +75,10 @@ OPTIONS
header files. You need to pass to the scanner all the directories you'd
normally pass to the compiler when using the specified source files.
+--c-include=C_INCLUDES
+ Headers which should be included in C programs. This option can be
+ specified multiple times to include more than one header.
+
-n, --namespace=NAME
The namespace name. This name should be capitalized, eg the first letter
should be upper case. Examples: Gtk, Clutter, WebKit.