Browse Source

initialization of the struct IFdevice.flags element in generated code

pre-master-46
rlar 16 years ago
parent
commit
e26cec467d
  1. 8
      ChangeLog
  2. 1
      src/xspice/cmpp/writ_ifs.c

8
ChangeLog

@ -1,4 +1,10 @@
2010-07-05 Robert Larice <Robert.Larice@t-online.de>
2010-07-05 Robert Larice
* src/xspice/cmpp/writ_ifs.c :
add initialization of the struct IFdevice.flags element to the
generated code. We initialize to 0, which is what the C compiler
used as default so far.
2010-07-05 Robert Larice
* src/xspice/icm/analog/d_dt/cfunc.mod ,
* src/xspice/icm/analog/hyst/cfunc.mod ,
* src/xspice/icm/analog/int/cfunc.mod ,

1
src/xspice/cmpp/writ_ifs.c

@ -911,6 +911,7 @@ static void write_SPICEdev(
fprintf(fp, " MIFinst_varTable,\n");
else
fprintf(fp, " NULL,\n");
fprintf(fp, " 0, /* flags */\n");
fprintf(fp, " },\n");

Loading…
Cancel
Save