summaryrefslogtreecommitdiff
path: root/src/rebuild.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebuild.h')
-rw-r--r--src/rebuild.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rebuild.h b/src/rebuild.h
index f14236e..0845d30 100644
--- a/src/rebuild.h
+++ b/src/rebuild.h
@@ -13,13 +13,13 @@ class Settings;
struct BuildConfigurationEntry
{
const char* file;
- std::vector<BuildConfiguration> (*cb)();
+ BuildConfigurations (*cb)();
};
struct ExternalConfigurationEntry
{
const char* file;
- std::vector<ExternalConfiguration> (*cb)();
+ ExternalConfigurations (*cb)();
};
extern std::array<BuildConfigurationEntry, 1024> configFiles;
@@ -31,5 +31,6 @@ extern std::size_t numExternalConfigFiles;
int reg(const char* location);
int unreg(const char* location);
-void recompileCheck(const Settings& settings, int argc, char* argv[],
+//! Returns true of recompilation was needed.
+bool recompileCheck(const Settings& settings, int argc, char* argv[],
bool relaunch_allowed = true);