mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-29 12:42:50 +00:00
170885cfcc
* src/abg-ir.h (class enum_type_decl, struct enum_type_decl_hash): New declarations. * src/abg-ir.cc (dynamic_type_hash::operator()): Add hashing support for enum_type_decl. (enum_type_decl::enum_type_decl) (enum_type_decl::get_underlying_type) (enum_type_decl::get_enumerators, enum_type_decl::~enum_type_decl) (enum_type_decl::operator==): New definitions. * src/abg-reader.cc (handle_enum_type_decl): New definition. (handle_element): Handle "enum-decl" element. * src/abg-writer.cc (write_enum_type_decl): New. (write_decl): Add support to serialize enum_type_decl. * tests/test-read-write.cc: De-serialize and serialize data/test-read-write/test6.xml back. * tests/data/test-read-write/test6.xml: New test input. * tests/Makefile.am: Add it to the distribution. |
||
---|---|---|
.. | ||
data/test-read-write | ||
Makefile.am | ||
test-read-write.cc | ||
test-utils.cc | ||
test-utils.h |