Gnome-module.md: Add information about output files to mkenums()

[skip ci]
This commit is contained in:
Eduardo Lima (Etrunko) 2018-03-06 16:37:59 -03:00 committed by Jussi Pakkanen
parent ffe6ed2a47
commit ccd198a849
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ Returns an array of two elements which are: `[c_source, header_file]`
### gnome.mkenums()
Generates enum files for GObject using the `glib-mkenums` tool. The
first argument is the base name of the output files.
first argument is the base name of the output files, unless `c_template`
and `h_template` are specified. In this case, the output files will be
the base name of the values passed as templates.
This method is essentially a wrapper around the `glib-mkenums` tool's
command line API. It is the most featureful method for enum creation.