Add function

char* ngCM_Input_Path(const char* path);
to shared  ngspice API
to send file path for code model input files (e.g. dsource).
Such path cannot be extracted automatically when netlist has
been sent by ngSpice_Circ
This commit is contained in:
Holger Vogt
2022-10-28 14:12:53 +02:00
parent 4b15632f9b
commit eb70d81dab
2 changed files with 21 additions and 1 deletions
+5 -1
View File
@@ -365,12 +365,16 @@ Commands are executed immediately */
IMPEXP
int ngSpice_Command(char* command);
/* get info about a vector */
IMPEXP
pvector_info ngGet_Vec_Info(char* vecname);
#ifdef XSPICE
/* Set the input path for files loaded by code models.
If NULL is sent, return the current Infile_Path. */
IMPEXP
char* ngCM_Input_Path(const char* path);
/* get info about the event node vector */
IMPEXP
pevt_shared_data ngGet_Evt_NodeInfo(char* nodename);