⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mifdestr.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/*============================================================================FILE    MIFdestroy.cMEMBER OF process XSPICECopyright 1991Georgia Tech Research CorporationAtlanta, Georgia 30332All Rights ReservedPROJECT A-8503AUTHORS    9/12/91  Bill KuhnMODIFICATIONS    <date> <person name> <nature of modifications>SUMMARY    This file contains a function that deletes all models of a particular    device (code model) type from the circuit description structures.INTERFACES    MIFdestroy()REFERENCED FILES    None.NON-STANDARD FEATURES    None.============================================================================*//* #include "prefix.h" */#include "ngspice.h"#include <stdio.h>#include "mifproto.h"/* #include "suffix.h"  *//*MIFdestroyThis function deletes all models and all instances of a specifieddevice type.  It traverses the linked list of model structuresfor that type and calls MIFmDelete on each model.*/void MIFdestroy(    GENmodel **inModel)    /* The head of the list of models to delete */{    /* Free all models of this device type by removing */    /* models from the head of the linked list until   */    /* the head is null */    while(*inModel) {        MIFmDelete(inModel,                   (*inModel)->GENmodName,                   *inModel);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -