aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-10-21 10:08:04 +0100
committerGitHub <noreply@github.com>2018-10-21 10:08:04 +0100
commitcdc9e0e81cb234c2cbc3dfcf6c4570e823595fab (patch)
treef8790747172727fd8d3609785a096c6d780d58db /common/command.h
parentb53a4862db99e41f16c06425f314a1a398a21985 (diff)
parent7c9ab173da50dce5abfe5a28da4dc49816216537 (diff)
downloadnextpnr-cdc9e0e81cb234c2cbc3dfcf6c4570e823595fab.tar.gz
nextpnr-cdc9e0e81cb234c2cbc3dfcf6c4570e823595fab.tar.bz2
nextpnr-cdc9e0e81cb234c2cbc3dfcf6c4570e823595fab.zip
Merge pull request #92 from YosysHQ/python-cmdline
Allow running Python scripts for all points in flow
Diffstat (limited to 'common/command.h')
-rw-r--r--common/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.h b/common/command.h
index 900cf74b..12f710f6 100644
--- a/common/command.h
+++ b/common/command.h
@@ -53,6 +53,7 @@ class CommandHandler
void setupContext(Context *ctx);
int executeMain(std::unique_ptr<Context> ctx);
po::options_description getGeneralOptions();
+ void run_script_hook(const std::string &name);
protected:
po::variables_map vm;