adms/admst/ngspiceMODULE*.c.xml, drop "register" declaration
This commit is contained in:
parent
57f9804db6
commit
ec4b7ffecd
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
int $(module)acLoad(GENmodel *inModel, CKTcircuit *ckt)
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||
{
|
||||
/* loop through all the instances of the model */
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
int $(module)delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance **fast =($(module)instance**)inInst;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance **fast =($(module)instance**)inInst;
|
||||
|
||||
$(module)instance **prev = NULL;
|
||||
$(module)instance *here;
|
||||
|
|
|
|||
|
|
@ -187,8 +187,8 @@ int $(module)load(GENmodel *inModel, CKTcircuit *ckt)
|
|||
* sparse matrix previously provided
|
||||
*/
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
int ChargeComputationNeeded =
|
||||
((ckt->CKTmode & (MODEAC | MODETRAN | MODEINITSMSIG)) ||
|
||||
((ckt->CKTmode & MODETRANOP) && (ckt->CKTmode & MODEUIC)))
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
int $(module)mDelete(GENmodel **inModel, IFuid modname, GENmodel *kill)
|
||||
|
||||
{
|
||||
register $(module)model **model = ($(module)model**)inModel;
|
||||
register $(module)model *modfast =($(module)model*)kill;
|
||||
$(module)model **model = ($(module)model**)inModel;
|
||||
$(module)model *modfast =($(module)model*)kill;
|
||||
$(module)instance *here;
|
||||
$(module)instance *prev = NULL;
|
||||
$(module)model **oldmod;
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@
|
|||
|
||||
int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
NG_IGNOREABLE(ckt);
|
||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *
|
|||
* for fast matrix loading
|
||||
*/
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
|
||||
/* loop through all the $(module) device models */
|
||||
for ( ;model != NULL ;model = model->$(module)nextModel )
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@
|
|||
|
||||
int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
NG_IGNOREABLE(ckt);
|
||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
int $(module)trunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
|
||||
{
|
||||
register $(module)model *model = ($(module)model*)inModel;
|
||||
register $(module)instance *here;
|
||||
$(module)model *model = ($(module)model*)inModel;
|
||||
$(module)instance *here;
|
||||
|
||||
#ifdef STEPDEBUG
|
||||
double debugtemp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue