summaryrefslogtreecommitdiff
path: root/pluginmanager.cpp
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-01-27 22:43:28 -0500
committerKyleMiles <krm504@nyu.edu>2022-01-28 00:24:06 -0500
commit6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch)
treedace4156d03148bcaf02df138ab4e0d93e61bc6f /pluginmanager.cpp
parent519c9db22367f2659d1a54599fab47e6313be06e (diff)
Format All Files
Diffstat (limited to 'pluginmanager.cpp')
-rw-r--r--pluginmanager.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/pluginmanager.cpp b/pluginmanager.cpp
index d3108907..6a72e69c 100644
--- a/pluginmanager.cpp
+++ b/pluginmanager.cpp
@@ -3,12 +3,14 @@
using namespace BinaryNinja;
using namespace std;
-#define RETURN_STRING(s) do { \
- char* contents = (char*)(s); \
- string result(contents); \
- BNFreeString(contents); \
- return result; \
-}while(0)
+#define RETURN_STRING(s) \
+ do \
+ { \
+ char* contents = (char*)(s); \
+ string result(contents); \
+ BNFreeString(contents); \
+ return result; \
+ } while (0)
RepoPlugin::RepoPlugin(BNRepoPlugin* plugin)
{
@@ -326,7 +328,7 @@ vector<Ref<Repository>> RepositoryManager::GetRepositories()
}
bool RepositoryManager::AddRepository(const std::string& url,
- const std::string& repoPath) // Relative path within the repositories directory
+ const std::string& repoPath) // Relative path within the repositories directory
{
return BNRepositoryManagerAddRepository(m_object, url.c_str(), repoPath.c_str());
}