drgn/tests
Omar Sandoval 7c70a1a384 libdrgn/python: add proper type for enumerators
Currently, type members, enumerators, and parameters are all represented
by tuples in the Python bindings. This is awkward to document and
implement. Instead, let's replace these tuples with proper types,
starting with the easiest one, TypeEnumerator. This one still makes
sense to treat as a sequence so that it can be unpacked as (name,
value).
2020-02-12 15:37:41 -08:00
..
helpers helpers: Add get_config helper for getting kconfig map 2020-02-12 14:06:49 -08:00
__init__.py libdrgn/python: add proper type for enumerators 2020-02-12 15:37:41 -08:00
dwarf.py Format Python code with Black 2020-01-14 11:51:58 -08:00
dwarfwriter.py Format Python code with Black 2020-01-14 11:51:58 -08:00
elf.py libdrgn: make program components pluggable 2019-05-10 12:41:07 -07:00
elfwriter.py Format Python code with Black 2020-01-14 11:51:58 -08:00
libdrgn.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_docs.py tests: test that Python documentation renders 2019-07-24 11:01:35 -07:00
test_dwarf.py libdrgn/python: add proper type for enumerators 2020-02-12 15:37:41 -08:00
test_language_c.py libdrgn/python: add proper type for enumerators 2020-02-12 15:37:41 -08:00
test_lexer.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_object.py libdrgn/python: add proper type for enumerators 2020-02-12 15:37:41 -08:00
test_path.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_platform.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_program.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_python.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_serialize.py Format Python code with Black 2020-01-14 11:51:58 -08:00
test_type.py libdrgn/python: add proper type for enumerators 2020-02-12 15:37:41 -08:00