Browse Source

Put variable wantevtdata into the right place,

also available for standard executable, to be
modified in sharedspice.c only.
pre-master-46
Holger Vogt 9 years ago
parent
commit
8aff70036a
  1. 4
      src/main.c
  2. 2
      src/sharedspice.c

4
src/main.c

@ -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 */

2
src/sharedspice.c

@ -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;

Loading…
Cancel
Save