/[ascend]/trunk/base/generic/packages/kvalues.h
ViewVC logotype

Contents of /trunk/base/generic/packages/kvalues.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 467 - (show annotations) (download) (as text)
Mon Apr 17 03:18:06 2006 UTC (13 years, 11 months ago) by ben.allan
File MIME type: text/x-chdr
File size: 363 byte(s)
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.

Against my better judgement in a few cases,
cleaned up the old EXT statement code from Abbott
to work in a typesafe manner. A better solution
is to get the CALL syntax working as defined in 
the grammar, but this takes a good deal more work
and meanwhile people want to get their phds...

Still some known bugs in relation_util.
I need to commit the test models that go with
the EXT statements. Fixed a bunch of lintish
compiler complaints. Don't try to solve external
models yet.

1 #ifndef kvalues_h_seen
2 #define kvalues_h_seen
3 extern int KValues_Init (void);
4 extern int kvalues_preslv(struct Slv_Interp *slv_interp,
5 struct Instance *data,
6 struct gl_list_t *arglist);
7
8 extern int kvalues_fex(struct Slv_Interp *slv_interp,
9 int ninputs, int noutputs,
10 double *inputs, double *outputs,
11 double *jacobian);
12 #endif /*kvalues_h_seen */

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