From e91063d096036b6ef8730805f9c6caa23219816c Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 13 Apr 2013 15:30:12 +0200 Subject: [PATCH] =?UTF-8?q?sharedspice.c,=20.h,=20.vcproj:=20comments,=20u?= =?UTF-8?q?pdate=20f=C3=BCr=20MS=20Visual=20Sudio=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/ngspice/sharedspice.h | 8 +++++--- src/sharedspice.c | 2 +- visualc-shared/sharedspice.vcproj | 9 +++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index 20aca841e..3235f9460 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -112,7 +112,9 @@ struct ngcomplex { typedef struct ngcomplex ngcomplex_t; #endif -/* vector info obtained from any vector in ngspice.dll */ +/* vector info obtained from any vector in ngspice.dll. + Allows direct access to the ngspice internal vector structure, + as defined in include/ngspice/devc.h . */ typedef struct vector_info { char *v_name; /* Same as so_vname. */ int v_type; /* Same as so_vtype. */ @@ -132,8 +134,8 @@ typedef struct vecvalues { typedef struct vecvaluesall { int veccount; /* number of vectors in plot */ - int vecindex; /* index of actual set of vectors */ - pvecvalues *vecsa; /* values of actual set of vectors */ + int vecindex; /* index of actual set of vectors. i.e. the number of accepted data points */ + pvecvalues *vecsa; /* values of actual set of vectors, indexed from 0 to veccount - 1 */ } vecvaluesall, *pvecvaluesall; /* info for a specific vector */ diff --git a/src/sharedspice.c b/src/sharedspice.c index de247d0c3..3ac92d76a 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -626,7 +626,7 @@ bot: // com_version(NULL); fprintf(cp_out, "******\n" - "** %s-%s\n", + "** %s-%s shared library\n", ft_sim->simulator, ft_sim->version); if (Spice_Build_Date != NULL && *Spice_Build_Date != 0) fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date); diff --git a/visualc-shared/sharedspice.vcproj b/visualc-shared/sharedspice.vcproj index 5ba6c21fc..95442db6c 100644 --- a/visualc-shared/sharedspice.vcproj +++ b/visualc-shared/sharedspice.vcproj @@ -26,6 +26,9 @@ />