Age | Commit message (Collapse) | Author |
|
mm-enums-types.c: In function ‘mm_modem_lock_get_string’:
mm-enums-types.c:165:17: warning: comparison of integer expressions of different signedness: ‘MMModemLock’ {aka ‘enum <anonymous>’} and ‘gint’ {aka ‘const int’} [-Wsign-compare]
165 | if (val == mm_modem_lock_values[i].value)
| ^~
|
|
|
|
|
|
|
|
We define custom nicks for each error enum, matching the DBus error entry that
we want to have with each of them.
|
|
|
|
|
|
Equivalent to the fix in d15b1f201 applied to the enums template.
Spotted by Nathan Williams.
|
|
Each enum will have its own #_get_string (),
and each flags will have its own #_build_string_from_mask ().
|
|
So that we get the following fix in glib-mkenums:
https://bugzilla.gnome.org/show_bug.cgi?id=661797
|
|
Don't include anything in the templates specific to the file to be built, like
#ifdef guards in headers or #include in sources.
|
|
But keep it around as a static file, while we do the migration to the new
interface.
|
|
The code to handle the Errors type information is automatically built with
`glib-mkenums' and the new templates kept under `build-aux'.
|
|
The code to handle the Enums and Flags type information is automatically built
with `glib-mkenums' and the new templates kept under `build-aux'.
Note: We currently skip the type information of `MMModemBand'. GFlagsValue
can hold only 32-bit types, and we're working with a 64-bit flag here.
See: https://bugzilla.gnome.org/show_bug.cgi?id=663054
|
|
The `include/ModemManager-names.h' autogenerated header includes the list of
Interface, Method, Signal and Property names defined in the DBus API.
|
|
Also move helper files to the new `build-aux' directory.
|