/[ascend]/trunk/base/generic/system/graph.c
ViewVC logotype

Diff of /trunk/base/generic/system/graph.c

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

revision 1347 by jpye, Tue Mar 13 06:40:06 2007 UTC revision 1349 by jpye, Tue Mar 13 07:26:43 2007 UTC
# Line 27  Line 27 
27  #include "graph.h"  #include "graph.h"
28  #include "slv_client.h"  #include "slv_client.h"
29  #include <utilities/ascMalloc.h>  #include <utilities/ascMalloc.h>
30    #include <utilities/ascPanic.h>
31    
32  int system_write_graph(slv_system_t sys  int system_write_graph(slv_system_t sys
33      , FILE *fp      , FILE *fp
# Line 37  int system_write_graph(slv_system_t sys Line 38  int system_write_graph(slv_system_t sys
38      struct rel_relation **srels;      struct rel_relation **srels;
39      struct var_variable **svars, **ivars;      struct var_variable **svars, **ivars;
40      char *relname, *varname;      char *relname, *varname;
41        
42        CONSOLE_DEBUG("Writing graph...");
43        asc_assert(fp!=NULL);
44    
45      fprintf(fp,"digraph G{\n");      fprintf(fp,"digraph G{\n");
46    
# Line 84  int system_write_graph(slv_system_t sys Line 88  int system_write_graph(slv_system_t sys
88      fprintf(fp,"}\n");      fprintf(fp,"}\n");
89    
90      CONSOLE_DEBUG("Completed graph output");      CONSOLE_DEBUG("Completed graph output");
91        return 0;
92  }  }
93                    
94    

Legend:
Removed from v.1347  
changed lines
  Added in v.1349

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