diff options
author | David Seifert <soap@gentoo.org> | 2018-09-15 13:13:50 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-16 00:47:32 +0300 |
commit | 69ec001b0672094ab92c07f5e561c9c0525aef7b (patch) | |
tree | c4ca07ad57cf0eeacd8936599edbaae202e9d42e /docs/markdown/Python-module.md | |
parent | 73b47e00250de335513172f0ed0284cd4ac31599 (diff) | |
download | meson-69ec001b0672094ab92c07f5e561c9c0525aef7b.zip meson-69ec001b0672094ab92c07f5e561c9c0525aef7b.tar.gz meson-69ec001b0672094ab92c07f5e561c9c0525aef7b.tar.bz2 |
Use enum instead of `int` for compiler variants
* Enums are strongly typed and make the whole
`gcc_type`/`clang_type`/`icc_type` distinction
redundant.
* Enums also allow extending via member functions,
which makes the code more generalisable.
Diffstat (limited to 'docs/markdown/Python-module.md')
0 files changed, 0 insertions, 0 deletions