diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-05-14 12:12:57 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-14 19:40:36 +0300 |
commit | 4e476c82f34d46e3fd1358b46220bff74826b3e4 (patch) | |
tree | e143c4abe78e0199a184756c7fe57019699fa40b /mesonbuild/mesonmain.py | |
parent | c69a4aee1eb8f78770d59afec6dd12ebea9bfbd1 (diff) | |
download | meson-4e476c82f34d46e3fd1358b46220bff74826b3e4.zip meson-4e476c82f34d46e3fd1358b46220bff74826b3e4.tar.gz meson-4e476c82f34d46e3fd1358b46220bff74826b3e4.tar.bz2 |
gnome: add mkenums_simple()
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.
Features:
- optional function declaration decorator such as GLIB_AVAILABLE
- optional extra header prefix (e.g. for include needed for decorator)
- optional extra body prefix (e.g. for additional includes)
- optional function name prefix (e.g. to add leading underscores)
Fixes issue #1384
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions