summaryrefslogtreecommitdiffstats
path: root/src/common/symbols.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/symbols.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/common/symbols.h b/src/common/symbols.h
index 5ed16009c..6044c9db6 100644
--- a/src/common/symbols.h
+++ b/src/common/symbols.h
@@ -10,25 +10,22 @@
#include "common/common_types.h"
-struct TSymbol
-{
- u32 address = 0;
+struct TSymbol {
+ u32 address = 0;
std::string name;
- u32 size = 0;
- u32 type = 0;
+ u32 size = 0;
+ u32 type = 0;
};
typedef std::map<u32, TSymbol> TSymbolsMap;
typedef std::pair<u32, TSymbol> TSymbolsPair;
-namespace Symbols
-{
- bool HasSymbol(u32 address);
+namespace Symbols {
+bool HasSymbol(u32 address);
- void Add(u32 address, const std::string& name, u32 size, u32 type);
- TSymbol GetSymbol(u32 address);
- const std::string GetName(u32 address);
- void Remove(u32 address);
- void Clear();
+void Add(u32 address, const std::string& name, u32 size, u32 type);
+TSymbol GetSymbol(u32 address);
+const std::string GetName(u32 address);
+void Remove(u32 address);
+void Clear();
}
-