8 #include "abg-internal.h"
10 ABG_BEGIN_EXPORT_DECLARATIONS
13 #include "abg-version.h"
15 ABG_END_EXPORT_DECLARATIONS
21 : m_format_minor(ABIGAIL_ABIXML_VERSION_MINOR),
22 m_format_major(ABIGAIL_ABIXML_VERSION_MAJOR),
23 m_xml_element_indent(2),
24 m_tu_instr_suffix(
".bi"),
25 m_tu_instr_archive_suffix(
".abi")
30 config::get_format_minor_version_number()
const
31 {
return m_format_minor;}
34 config::set_format_minor_version_number(
const std::string& v)
38 config::get_format_major_version_number()
const
39 {
return m_format_major;}
42 config::set_format_major_version_number(
const std::string& v)
46 config::get_xml_element_indent()
const
47 {
return m_xml_element_indent; }
50 config::set_xml_element_indent(
unsigned indent)
51 {m_xml_element_indent = indent;}
54 config::get_tu_instr_suffix()
const
55 {
return m_tu_instr_suffix;}
58 config::set_tu_instr_suffix(
const std::string& s)
59 {m_tu_instr_suffix = s;}
62 config::get_tu_instr_archive_suffix()
const
63 {
return m_tu_instr_archive_suffix;}
66 config::set_tu_instr_archive_suffix(
const std::string& s)
67 {m_tu_instr_archive_suffix = s; }
83 std::string& revision,
86 major = ABIGAIL_VERSION_MAJOR;
87 minor = ABIGAIL_VERSION_MINOR;
88 revision = ABIGAIL_VERSION_REVISION;
89 suffix = ABIGAIL_VERSION_SUFFIX;
101 major = ABIGAIL_ABIXML_VERSION_MAJOR;
102 minor = ABIGAIL_ABIXML_VERSION_MINOR;
Toplevel namespace for libabigail.
void abigail_get_library_version(std::string &major, std::string &minor, std::string &revision, std::string &suffix)
Return the relevant version numbers of the library.
void abigail_get_abixml_version(std::string &major, std::string &minor)
Return the version numbers for the ABIXML format.