glib-genmarshal - C code marshaller generation utility for GLib closures
glib-genmarshal [options...] [files...]
is a small utility that generates C code marshallers for callback functions of the GClosure mechanism in the GObject sublibrary of GLib. The marshaller functions have a standard signature, they get passed in the invoking closure, an array of value structures holding the callback function parameters and a value structure for the return value of the callback. The marshaller is then responsible to call the respective C code function of the closure with all the parameters on the stack and to collect its return value.
takes a list of marshallers to generate as input. The marshaller list is either read from standard input or from files passed as additional arguments on the command line.
Generate header file contents of the marshallers.
Generate C code file contents of the marshallers.
--prefix=string, --prefix string
Specify marshaller prefix. The default prefix is
Skip source location remarks in generated comments.
Do not use the standard marshallers of the GObject library, and skip
include directive in generated header files.
Make warnings fatal, that is, exit immediately once a warning occurs.
Print brief help and exit.
Print version and exit.
Marshaller list format
The marshaller lists are processed line by line, a line can contain a comment in the form of