/[ascend]/trunk/base/generic/solver/slv_common.h
ViewVC logotype

Diff of /trunk/base/generic/solver/slv_common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 944 by johnpye, Sat Nov 25 05:26:47 2006 UTC revision 945 by johnpye, Sat Nov 25 12:41:03 2006 UTC
# Line 307  typedef struct{ Line 307  typedef struct{
307  typedef struct{  typedef struct{
308      const SlvParameterInitMeta meta;      const SlvParameterInitMeta meta;
309      const char *val;      const char *val;
310      const char *options[]; /* Important: NULL terminated */      /* list of options will be passed in separately; seems not possible to have static array here */
311  } SlvParameterInitChar;  } SlvParameterInitChar;
312    
313  struct slv_parameters_structure;  struct slv_parameters_structure;
# Line 315  struct slv_parameters_structure; Line 315  struct slv_parameters_structure;
315  int slv_param_int (struct slv_parameters_structure *p, const int index, const SlvParameterInitInt);  int slv_param_int (struct slv_parameters_structure *p, const int index, const SlvParameterInitInt);
316  int slv_param_bool(struct slv_parameters_structure *p, const int index, const SlvParameterInitBool);  int slv_param_bool(struct slv_parameters_structure *p, const int index, const SlvParameterInitBool);
317  int slv_param_real(struct slv_parameters_structure *p, const int index, const SlvParameterInitReal);  int slv_param_real(struct slv_parameters_structure *p, const int index, const SlvParameterInitReal);
318  int slv_param_char(struct slv_parameters_structure *p, const int index, const SlvParameterInitChar);  int slv_param_char(struct slv_parameters_structure *p, const int index, const SlvParameterInitChar, const char **options);
319    
320  /* macros to access values from your solver code  /* macros to access values from your solver code
321    

Legend:
Removed from v.944  
changed lines
  Added in v.945

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22