diff --git a/src/demangle.cpp b/src/demangle.cpp index d79dfb0..529ce30 100644 --- a/src/demangle.cpp +++ b/src/demangle.cpp @@ -1,3 +1,12 @@ +/** + * @file demangle.cpp + * + * @author Martin Olivier + * @copyright (c) 2024 Martin Olivier + * + * This library is released under MIT license + */ + #include std::string format_symbol(std::string input); @@ -69,4 +78,4 @@ std::string get_demangled_name(const char *symbol) { return result; } -#endif \ No newline at end of file +#endif diff --git a/src/symbols.cpp b/src/symbols.cpp index c6e902d..a4a63c9 100644 --- a/src/symbols.cpp +++ b/src/symbols.cpp @@ -7,14 +7,14 @@ * This library is released under MIT license */ -#include -#include -#include - #include #include #include +#include +#include +#include + std::string get_demangled_name(const char *symbol); #if (defined(_WIN32) || defined(_WIN64)) @@ -214,7 +214,7 @@ std::vector get_symbols(int fd, bool demangle) { return result; } -#else // Linux +#else // Linux #include #include