diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-01-03 22:51:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-01-03 22:51:31 (GMT) |
commit | 8255d60ac64a851c2e7ca37d63aa1ba37d35b704 (patch) | |
tree | 06f1855dd7ead9da2acc0c595e3710faf503628f /plugins/pychrysalide/format/constants.c | |
parent | 90b8f66eb8ae62d951dfbd333fb338e38874c9fe (diff) |
Used a Python enumeration for verbosity levels.
Diffstat (limited to 'plugins/pychrysalide/format/constants.c')
-rw-r--r-- | plugins/pychrysalide/format/constants.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/pychrysalide/format/constants.c b/plugins/pychrysalide/format/constants.c index ea2aedc..1561032 100644 --- a/plugins/pychrysalide/format/constants.c +++ b/plugins/pychrysalide/format/constants.c @@ -66,7 +66,8 @@ bool define_binary_symbol_constants(PyTypeObject *type) goto exit; } - result = attach_constants_group(type, false, "SymbolType", values, "Available values for symbol types."); + result = attach_constants_group_to_type(type, false, "SymbolType", values, + "Available values for symbol types."); values = PyDict_New(); @@ -81,7 +82,8 @@ bool define_binary_symbol_constants(PyTypeObject *type) goto exit; } - result = attach_constants_group(type, false, "SymbolStatus", values, "Status of a symbol visibility."); + result = attach_constants_group_to_type(type, false, "SymbolStatus", values, + "Status of a symbol visibility."); exit: |