diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 21:41:24 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 21:41:24 -0700 |
commit | 6c1c45b90f689a548c2c35b5d5913cee76e7cbca (patch) | |
tree | 3247213ce167d0dfe33b92d2559f6a8eb6c2ad46 /src/base/main | |
parent | aa705a9af63b3c3859345311693eb50fbf751cb7 (diff) | |
download | abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.tar.gz abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.tar.bz2 abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.zip |
Added command 'starter' to call ABC concurrently.
Diffstat (limited to 'src/base/main')
-rw-r--r-- | src/base/main/main.c | 4 | ||||
-rw-r--r-- | src/base/main/mainInt.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/base/main/main.c b/src/base/main/main.c index 41836681..1ef79b73 100644 --- a/src/base/main/main.c +++ b/src/base/main/main.c @@ -98,12 +98,10 @@ int Abc_RealMain( int argc, char * argv[] ) _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); #endif -// Npn_Experiment(); -// Npn_Generate(); - // get global frame (singleton pattern) // will be initialized on first call pAbc = Abc_FrameGetGlobalFrame(); + pAbc->sBinary = argv[0]; #ifdef ABC_PYTHON_EMBED { diff --git a/src/base/main/mainInt.h b/src/base/main/mainInt.h index 5992d191..4db982f0 100644 --- a/src/base/main/mainInt.h +++ b/src/base/main/mainInt.h @@ -58,6 +58,7 @@ struct Abc_Frame_t_ { // general info char * sVersion; // the name of the current version + char * sBinary; // the name of the binary running // commands, aliases, etc st__table * tCommands; // the command table st__table * tAliases; // the alias table |