📄 txlparam.c
字号:
/**********Copyright 1992 Regents of the University of California. All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "const.h"#include "ifsim.h"#include "txldefs.h"#include "sperror.h"#include "suffix.h"/* ARGSUSED */intTXLparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select){ TXLinstance *here = (TXLinstance *)inst; switch(param) { case TXL_IN_NODE: here->TXLposNode = value->iValue; break; case TXL_OUT_NODE: here->TXLnegNode = value->iValue; break; case TXL_LENGTH: here->TXLlength = value->rValue; here->TXLlengthgiven = TRUE; break; default: return(E_BADPARM); } return(OK);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -