Holger Vogt
9a2d968577
When transferring boolean data over the ABI, keep them as boolean types, not integer
Replace the type of all boolean variables around the ABI by NG_BOOL.
NG_BOOL is typedefed to _Bool, when compiling shared ngspice. When
sharedspice.h is use externally NG_BOOL is typdefed to bool
5 years ago
Holger Vogt
4feb43e067
Prepare ngspice-35
5 years ago
Holger Vogt
7064df7f3b
Define a preprocessor flag HAS_NG_BOOL
5 years ago
Holger Vogt
f6ba097b9c
Replace BOOL by NG_BOOL
Avoid clashes in environments where BOOL my be used differently.
NG_BOOL is typedefed to int, as ngspice uses int for boolean variables.
5 years ago
Holger Vogt
ded0f79c01
Avoid type 'bool', as ist is a built-in type in C++, not
equaling 'int' which ngspice is using.
Change bool to BOOL and ad a
typedef int BOOL;
5 years ago
Holger Vogt
462534a0fb
Rename the ngspice version information offered in sharedspice.h
5 years ago
Holger Vogt
99a7bfd8fe
Move version info from sharedspice.c to sharedspice.h
5 years ago
Holger Vogt
57487d2b0f
clarify the contents of the circarray netlist
5 years ago
Holger Vogt
87751ad073
Make the ngSpice_Circ(char** circa) more robust:
Error message when .end card is missing
Reset if .end card is missing, to allow loading
a netlist again.
NULL as last element is no longer required, but .end card
(this has been implicitedly assumed).
Remove a bug that skippoed the last line (the .end card).
5 years ago
h_vogt
11bafd70ea
update to callback functions SendEvtData, SendInitEvtData
9 years ago
h_vogt
c890435383
clarify pointers to data structures for event nodes
9 years ago
h_vogt
b5f31ec2b1
version conflict rersolved in sharedspice.c
9 years ago
h_vogt
b621875abf
sharedspice.h, .c, prepare adding callback functions: new ngSpice_Init_Evt() and function pointers
9 years ago
h_vogt
fc42cef878
New functions for XSPICE event node data exported from shared ngspice: ngGet_Evt_NodeInfo(char*) and ngSpice_AllEvtNodes(void)
9 years ago
h_vogt
d2dbe6145f
sharedspice.c: modified callback interface
enhanced function ngSpice_Init_Sync()
three new callback functions for synchronization
13 years ago
h_vogt
e929275cdf
sharedspice.c, .h: fcn to initialize Sync, fcn to set breakpoint, callback fcn to read vsrc external inputs
13 years ago
h_vogt
e91063d096
sharedspice.c, .h, .vcproj: comments, update für MS Visual Sudio build
13 years ago
h_vogt
a0a2f15a52
sharedspice.c, *.h: interface update, more comments
13 years ago
h_vogt
a6976f9857
main file and header for ngspice as shared module
13 years ago