OS Manuals

/usr/bin/glib-genmarshal

glib dev

From glib-dev 2.90.1-r2 (os), captured 2026-11-05 by running glib-genmarshal --help (exit 0). permalink

usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] [--internal]
                       [--valist-marshallers] [-v] [--g-fatal-warnings]
                       [--include-header [HEADER]] [--pragma-once] [-D CPP_DEFINES]
                       [-U CPP_UNDEFINES] [--prototypes] [--header] [--body] [--stdinc |
                       --nostdinc] [--quiet | --verbose]
                       [FILE ...]

Generate signal marshallers for GObject

positional arguments:
  FILE                  Files with lists of marshallers to generate, or "-" for standard input

options:
  -h, --help            show this help message and exit
  --prefix STRING       Specify marshaller prefix
  --output FILE         Write output into the specified file
  --skip-source         Skip source location comments
  --internal            Mark generated functions as internal
  --valist-marshallers  Generate va_list marshallers
  -v, --version         Print version information, and exit
  --g-fatal-warnings    Make warnings fatal
  --include-header [HEADER]
                        Include the specified header in the body
  --pragma-once         Use "pragma once" as the inclusion guard
  -D CPP_DEFINES        Pre-processor define
  -U CPP_UNDEFINES      Pre-processor undefine
  --prototypes          Generate the marshallers prototype in the C code
  --header              Generate C headers
  --body                Generate C code
  --stdinc              Include standard marshallers
  --nostdinc            Use standard marshallers
  --quiet               Only print warnings and errors
  --verbose             Be verbose, and include debugging information
Options (20)
OptionDescriptionSource
-h, --helpshow this help message and exithelp + man
--prefix STRINGSpecify marshaller prefix.help + man
--output FILEWrite output to FILE instead of the standard output.help + man
--skip-sourceSkip source location remarks in generated comments.help + man
--internalMark generated functions as internal, using G_GNUC_INTERNAL.help + man
--valist-marshallersGenerate va_list marshallershelp
-v, --versionPrint version information, and exithelp + man
--g-fatal-warningsMake warnings fatal.help + man
--include-header HEADERAdds a #include directive for the given file in the C source file.help + man
--pragma-onceUse the once pragma instead of an old style header guard when generating the C header file.help + man
-D CPP_DEFINESAdds a #define C pre-processor directive for SYMBOL and its given VALUE, or "1" if the value is unset.help + man
-U CPP_UNDEFINESAdds a #undef C pre-processor directive to undefine the given SYMBOL.help + man
--prototypesGenerate function prototypes before the function definition in the C source file, in order to avoid a missing-prototypes compiler warning.help + man
--headerGenerate header file contents of the marshallers.help + man
--bodyGenerate C code file contents of the marshallers.help + man
--stdincUse the standard marshallers of the GObject library, and include glib-object.h in generated header files.help + man
--nostdincDo not use the standard marshallers of the GObject library, and skip the glib-object.h include directive in generated header files.help + man
--quietMinimizes the output of glib-genmarshal, by printing only warnings and errors.help + man
--verboseIncreases the verbosity of glib-genmarshal, by printing debugging information.help + man
-valist-marshallersGenerate valist marshallers, for use with g_signal_set_va_marshaller(). (in the manual page but not in --help)man
Examples (5) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.