mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 06:54:37 +00:00
816eb4999c
* src/abg-ir.h (class function_decl): New declaration & inline definitions. * src/abg-ir.cc (function_decl::~function_decl): New definition. * src/abg-reader.cc (read_location): New overload to read location from an xmlNodePtr. (build_function_parameter, handle_function_decl): New definitions. (handle_element): Support "function-decl" elements. * src/abg-writer.cc (write_location): New overload to write a location directly, not from a decl. (write_function_decl): New definition. (write_binding): Support writing the binding attribute from a function_decl instance. (write_decl): support serializing function * tests/data/test-read-write/test9.xml: New test input file. * tests/Makefile.am: Add data/test-read-write/test9.xml to the build system. * tests/test-read-write.cc: De-serialize data/test-read-write/test9.xml, serialize it back and diff the output from the input. |
||
---|---|---|
.. | ||
data/test-read-write | ||
Makefile.am | ||
test-read-write.cc | ||
test-utils.cc | ||
test-utils.h |