summaryrefslogtreecommitdiffstats
path: root/src/common/symbols.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:38:01 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:38:01 +0200
commitdc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch)
tree569a7f13128450bbab973236615587ff00bced5f /src/common/symbols.h
parentTravis: Import Dolphin’s clang-format hook. (diff)
downloadyuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.gz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.bz2
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.lz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.xz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.zst
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.zip
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();
}
-