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

📄 mw_coms.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/* Michael Widlok 		2 Jun 1999 *//* $Id: mw_coms.c,v 1.4 2005/05/30 20:28:30 sjborley Exp $ *//* New commands for unloading circuits */#include "ngspice.h"#include "cpdefs.h"#include "ftedefs.h"#include "ftedev.h"#include "ftedebug.h"#include "dvec.h"#include "circuits.h"#include "mw_coms.h"#include "variable.h"#include "runcoms.h"/* Clears ckt and removes current circ. form database */ voidcom_removecirc(wordlist *wl){    struct variable *v, *next;    struct circ *ct;        if (ft_curckt == NULL) {        fprintf(cp_err, "Error: there is no circuit loaded.\n");        return;    }	ct = ft_curckt;         if_cktfree(ct->ci_ckt, ct->ci_symtab);    for (v = ct->ci_vars; v; v = next) {	next = v->va_next;	tfree(v);    }        ct->ci_vars = NULL;    return;}

⌨️ 快捷键说明

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