mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
K&R function definitions and GENmodel and GENinstance usage for the NDEV device
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
2010-07-24 Robert Larice
|
||||
* src/include/inpdefs.h ,
|
||||
* src/spicelib/devices/ndev/ndevacld.c ,
|
||||
* src/spicelib/devices/ndev/ndevask.c ,
|
||||
* src/spicelib/devices/ndev/ndevdel.c ,
|
||||
* src/spicelib/devices/ndev/ndevdump.c ,
|
||||
* src/spicelib/devices/ndev/ndevmdel.c ,
|
||||
* src/spicelib/devices/ndev/ndevparm.c ,
|
||||
* src/spicelib/devices/ndev/ndevpzld.c ,
|
||||
* src/spicelib/devices/ndev/ndevset.c ,
|
||||
* src/spicelib/devices/ndev/ndevtemp.c ,
|
||||
* src/spicelib/devices/ndev/ndevtrun.c ,
|
||||
* src/spicelib/parser/inp2n.c :
|
||||
convert K&R function definitions to ansi style
|
||||
use the GENmodel and GENinstance type instead of void*
|
||||
|
||||
2010-07-24 Robert Larice
|
||||
fix dangerous things, potential bugs, at least for big endian machines
|
||||
* src/frontend/inp.c ,
|
||||
@@ -6,7 +22,7 @@
|
||||
should fail on a big endian machine
|
||||
* src/frontend/spiceif.c ,
|
||||
the value of an union, made of a bool (unsigned char), an int, etc,
|
||||
is silently cast into an int.
|
||||
is silently cast into an int.
|
||||
This can introduce stack noise, in the CP_BOOL case
|
||||
* src/frontend/variable.c :
|
||||
a `variable' is created with type CP_NUM,
|
||||
|
||||
Reference in New Issue
Block a user