📄 b3soidest.c
字号:
/**********Copyright 1990 Regents of the University of California. All rights reserved.Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen TangFile: b3soidest.c 98/5/01Modified by Paolo Nenzi 2002**********/#include "ngspice.h"#include "b3soidef.h"#include "suffix.h"voidB3SOIdestroy(GENmodel **inModel){B3SOImodel **model = (B3SOImodel**)inModel;B3SOIinstance *here;B3SOIinstance *prev = NULL;B3SOImodel *mod = *model;B3SOImodel *oldmod = NULL; for (; mod ; mod = mod->B3SOInextModel) { if(oldmod) FREE(oldmod); oldmod = mod; prev = (B3SOIinstance *)NULL; for (here = mod->B3SOIinstances; here; here = here->B3SOInextInstance) { if(prev) FREE(prev); prev = here; } if(prev) FREE(prev); } if(oldmod) FREE(oldmod); *model = NULL; return;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -