Browse Source

sharedspice.c, .h, .vcproj: comments, update für MS Visual Sudio build

pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
e91063d096
  1. 8
      src/include/ngspice/sharedspice.h
  2. 2
      src/sharedspice.c
  3. 9
      visualc-shared/sharedspice.vcproj

8
src/include/ngspice/sharedspice.h

@ -112,7 +112,9 @@ struct ngcomplex {
typedef struct ngcomplex ngcomplex_t; typedef struct ngcomplex ngcomplex_t;
#endif #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 { typedef struct vector_info {
char *v_name; /* Same as so_vname. */ char *v_name; /* Same as so_vname. */
int v_type; /* Same as so_vtype. */ int v_type; /* Same as so_vtype. */
@ -132,8 +134,8 @@ typedef struct vecvalues {
typedef struct vecvaluesall { typedef struct vecvaluesall {
int veccount; /* number of vectors in plot */ 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; } vecvaluesall, *pvecvaluesall;
/* info for a specific vector */ /* info for a specific vector */

2
src/sharedspice.c

@ -626,7 +626,7 @@ bot:
// com_version(NULL); // com_version(NULL);
fprintf(cp_out, fprintf(cp_out,
"******\n" "******\n"
"** %s-%s\n",
"** %s-%s shared library\n",
ft_sim->simulator, ft_sim->version); ft_sim->simulator, ft_sim->version);
if (Spice_Build_Date != NULL && *Spice_Build_Date != 0) if (Spice_Build_Date != NULL && *Spice_Build_Date != 0)
fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date); fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date);

9
visualc-shared/sharedspice.vcproj

@ -26,6 +26,9 @@
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
Description="Custom defined Build: Recompile conf.c with actual date"
CommandLine="del $(ConfigurationName)\conf.obj"
Outputs="$(ConfigurationName)\conf.obj"
/> />
<Tool <Tool
Name="VCXMLDataGeneratorTool" Name="VCXMLDataGeneratorTool"
@ -113,6 +116,9 @@
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
Description="Custom defined Build: Recompile conf.c with actual date"
CommandLine="del $(ConfigurationName)\conf.obj"
Outputs="$(ConfigurationName)\conf.obj"
/> />
<Tool <Tool
Name="VCXMLDataGeneratorTool" Name="VCXMLDataGeneratorTool"
@ -200,6 +206,9 @@
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
Description="Custom defined Build: Recompile conf.c with actual date"
CommandLine="del $(ConfigurationName)\conf.obj"
Outputs="$(ConfigurationName)\conf.obj"
/> />
<Tool <Tool
Name="VCXMLDataGeneratorTool" Name="VCXMLDataGeneratorTool"

Loading…
Cancel
Save