devices/**/XXXdel.c, unify, function arguments
This commit is contained in:
parent
16ee02ba35
commit
5362d8be46
|
|
@ -17,10 +17,7 @@
|
|||
|
||||
|
||||
int
|
||||
BSIM3delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
BSIM3delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
BSIM3instance **fast = (BSIM3instance **) inInst;
|
||||
BSIM3model *model = (BSIM3model *) inModel;
|
||||
|
|
|
|||
|
|
@ -66,10 +66,7 @@
|
|||
|
||||
|
||||
int
|
||||
BSIM4delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
BSIM4delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
BSIM4instance **fast = (BSIM4instance **) inInst;
|
||||
BSIM4model *model = (BSIM4model *) inModel;
|
||||
|
|
|
|||
|
|
@ -16,10 +16,7 @@
|
|||
|
||||
|
||||
int
|
||||
BSIM4v5delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
BSIM4v5delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
BSIM4v5instance **fast = (BSIM4v5instance **) inInst;
|
||||
BSIM4v5model *model = (BSIM4v5model *) inModel;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,7 @@
|
|||
|
||||
|
||||
int
|
||||
BSIM4v6delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
BSIM4v6delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
BSIM4v6instance **fast = (BSIM4v6instance **) inInst;
|
||||
BSIM4v6model *model = (BSIM4v6model *) inModel;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,7 @@
|
|||
|
||||
|
||||
int
|
||||
BSIM4v7delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
BSIM4v7delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
BSIM4v7instance **fast = (BSIM4v7instance **) inInst;
|
||||
BSIM4v7model *model = (BSIM4v7model *) inModel;
|
||||
|
|
|
|||
|
|
@ -21,10 +21,7 @@
|
|||
|
||||
|
||||
int
|
||||
B4SOIdelete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
B4SOIdelete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
B4SOIinstance **fast = (B4SOIinstance **) inInst;
|
||||
B4SOImodel *model = (B4SOImodel *) inModel;
|
||||
|
|
|
|||
|
|
@ -61,10 +61,8 @@ to others."
|
|||
#include "ngspice/suffix.h"
|
||||
|
||||
|
||||
int HSM2delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
int
|
||||
HSM2delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
HSM2instance **fast = (HSM2instance **) inInst;
|
||||
HSM2model *model = (HSM2model *) inModel;
|
||||
|
|
|
|||
|
|
@ -22,10 +22,8 @@
|
|||
#include "ngspice/suffix.h"
|
||||
|
||||
|
||||
int HSMHVdelete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
int
|
||||
HSMHVdelete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
HSMHVinstance **fast = (HSMHVinstance **) inInst;
|
||||
HSMHVmodel *model = (HSMHVmodel *) inModel;
|
||||
|
|
|
|||
|
|
@ -64,10 +64,8 @@ June 2008 (revised October 2011)
|
|||
#include "ngspice/suffix.h"
|
||||
|
||||
|
||||
int HSMHV2delete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **inInst)
|
||||
int
|
||||
HSMHV2delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||
{
|
||||
HSMHV2instance **fast = (HSMHV2instance **) inInst;
|
||||
HSMHV2model *model = (HSMHV2model *) inModel;
|
||||
|
|
|
|||
|
|
@ -11,11 +11,7 @@ University of Science and Technology of China
|
|||
|
||||
|
||||
int
|
||||
NDEVdelete(
|
||||
GENmodel *inModel,
|
||||
IFuid name,
|
||||
GENinstance **kill)
|
||||
|
||||
NDEVdelete(GENmodel *inModel, IFuid name, GENinstance **kill)
|
||||
{
|
||||
NDEVmodel *model = (NDEVmodel *) inModel;
|
||||
NDEVinstance **fast = (NDEVinstance **) kill;
|
||||
|
|
|
|||
Loading…
Reference in New Issue