Create and use sicsglobal.h and add isDuringInitialization

This commit is contained in:
Douglas Clowes
2014-06-19 14:24:46 +10:00
parent 0d39693c3b
commit 1da5fc9062
5 changed files with 11 additions and 3 deletions

View File

@@ -68,6 +68,7 @@
#include "ifile.h"
#include "Dbg.h"
#include "servlog.h"
#include "sicsglobal.h"
#include "stringdict.h"
#include "exeman.h"
#include "nxcopy.h"
@@ -323,7 +324,6 @@ Tcl_Interp *MacroInit(SicsInterp * pSics)
assert(pSics);
/* create interpreter and unknown */
extern const char *argv0;
Tcl_FindExecutable(argv0);
pInter = Tcl_CreateInterp();
pUnknown = (struct __SicsUnknown *) malloc(sizeof(struct __SicsUnknown));