Put variable wantevtdata into the right place,

also available for standard executable, to be
modified in sharedspice.c only.
This commit is contained in:
Holger Vogt 2017-10-28 15:20:40 +02:00
parent ce9f23f7af
commit 8aff70036a
2 changed files with 5 additions and 1 deletions

View File

@ -87,6 +87,10 @@ bool ft_intrpt = FALSE; /* Set by the (void) signal handlers. TRUE = we've b
bool ft_setflag = FALSE; /* TRUE = Don't abort simulation after an interrupt. */
char *ft_rawfile = "rawspice.raw";
#ifdef XSPICE
bool wantevtdata = FALSE;
#endif
#ifdef HAS_WINGUI
extern void winmessage(char *new_msg); /* display a message box (defined in winmain.c)*/
extern void SetSource(char *Name); /* display the source file name in the source window */

View File

@ -175,6 +175,7 @@ extern void create_circbyline(char *line);
#ifdef XSPICE
extern struct evt_shared_data *EVTshareddata(char *node_name);
extern char** EVTallnodes(void);
extern bool wantevtdata;
#endif
@ -231,7 +232,6 @@ static bool immediate = FALSE;
static bool coquit = FALSE;
static jmp_buf errbufm, errbufc;
static int intermj = 1;
bool wantevtdata = FALSE;
static SendInitEvtData* sendinitevt;
static SendEvtData* sendevt;
static void* euserptr;