From 57487d2b0fa1c37e446a64ef032363b936be41bd Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 21 Nov 2020 20:01:33 +0100 Subject: [PATCH] clarify the contents of the circarray netlist --- src/include/ngspice/sharedspice.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index a0125167e..411baec54 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -371,7 +371,8 @@ int ngSpice_Init_Evt(SendEvtData* sevtdata, SendInitEvtData* sinitevtdata, void /* send a circuit to ngspice.dll The circuit description is a dynamic array of char*. Each char* corresponds to a single circuit - line. The last entry of the array has to be a .end card. */ + line. The last-but-one entry of the array has to be a .end card, + followed by the last entry NULL. */ IMPEXP int ngSpice_Circ(char** circarray);