Browse Source

re-enable making old app nutmeg

pre-master-46
Holger Vogt 3 years ago
parent
commit
cc8b651562
  1. 8
      src/frontend/vectors.c
  2. 3
      src/main.c

8
src/frontend/vectors.c

@ -265,7 +265,7 @@ FINDVEC_ALL_GEN(findvec_ally,
(d->v_flags & VF_PERMANENT) &&
(!cieq(d->v_name, pl->pl_scale->v_name)))
#ifdef XSPICE
#if defined (XSPICE) && defined (SIMULATOR) /* SIMULATOR: disable old app nutmeg */
/* special case for finding all event nodes and return them as linked vectors */
static struct dvec* findvec_alle(void) {
@ -316,6 +316,12 @@ static struct dvec* findvec_alle(void) {
}
#endif
#ifndef SIMULATOR
static struct dvec* findvec_alle(void) {
return NULL;
}
#endif
/* Find a permanent vector with the given name */
static struct dvec *find_permanent_vector_by_name(
NGHASHPTR pl_lookup_table, char *name)

3
src/main.c

@ -478,6 +478,9 @@ EVTfindvec(char *node) {
return NULL;
}
void NIresetwarnmsg(void)
{}
#endif /* XSPICE */
#endif /* SIMULATOR */

Loading…
Cancel
Save