Portability: Updated to make main re-entrant()

- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
Mark Scannell
2018-01-31 19:45:07 -05:00
committed by Paul Beckingham
parent 3d7c681ed0
commit c7f2739dda
110 changed files with 942 additions and 1125 deletions

View File

@@ -47,6 +47,9 @@ public:
Context (const Context&);
Context& operator= (const Context&);
static Context& getContext ();
static void setContext (Context*);
int initialize (int, const char**); // all startup
int run ();
int dispatch (std::string&); // command handler dispatch
@@ -76,6 +79,8 @@ private:
void loadAliases ();
void propagateDebug ();
static Context* context;
public:
CLI2 cli2 {};
std::string home_dir {};