/[ascend]/trunk/base/generic/compiler/extfunc.h
ViewVC logotype

Diff of /trunk/base/generic/compiler/extfunc.h

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

revision 709 by johnpye, Wed Jun 28 16:28:57 2006 UTC revision 710 by johnpye, Thu Jun 29 08:53:37 2006 UTC
# Line 29  Line 29 
29      The ExternalFunc structure stores the number of input and output parameters      The ExternalFunc structure stores the number of input and output parameters
30      as well as 'help' string and 'name' string' for each of these 'calls'.      as well as 'help' string and 'name' string' for each of these 'calls'.
31    
32        This header also provides functions for ExternalFunc library maintenance.
33        This allows ASCEND to maintain a list of the ExternalFunc requests derived
34        from statements in the model(s). When compilation completes, I suppose
35        it should be possible to alert the user about any external functions
36        that were not able to be resolved.
37    
38      @todo Complete documentation of compiler/extfunc.h.      @todo Complete documentation of compiler/extfunc.h.
39    
40      Requires:      Requires:
# Line 258  extern int AddExternalFunc(struct Extern Line 264  extern int AddExternalFunc(struct Extern
264      is done and 0 is returned.  If force is true, then the old entry is      is done and 0 is returned.  If force is true, then the old entry is
265      removed and the new one is added; 1 is returned.  If the name is not      removed and the new one is added; 1 is returned.  If the name is not
266      found then the information is added to the library.      found then the information is added to the library.
267    
268        @return 1 if an element is added to ExternalFunctionLibrary Table,
269            or 0 if no addition is made.
270  */  */
271    
272  extern struct ExternalFunc *LookupExtFunc(CONST char *funcname);  extern struct ExternalFunc *LookupExtFunc(CONST char *funcname);

Legend:
Removed from v.709  
changed lines
  Added in v.710

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