#include "machine.h"Include dependency graph for getmodules.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | MODULESLIST |
Functions | |
| MODULESLIST * | getmodules (void) |
| BOOL | DisposeModulesInfo (void) |
| BOOL DisposeModulesInfo | ( | void | ) |
Definition at line 37 of file getmodules.c.
References FALSE, FREE, i, MODULESLIST::ModuleList, NULL, MODULESLIST::numberofModules, and ScilabModules.
Referenced by TerminateCorePart2().
00038 { 00039 BOOL bOK=FALSE; 00040 if (ScilabModules) 00041 { 00042 int i=0; 00043 for (i=0;i<ScilabModules->numberofModules;i++) 00044 { 00045 if (ScilabModules->ModuleList[i]) 00046 { 00047 FREE(ScilabModules->ModuleList[i]); 00048 ScilabModules->ModuleList[i]=NULL; 00049 } 00050 } 00051 if (ScilabModules->ModuleList) 00052 { 00053 FREE(ScilabModules->ModuleList); 00054 ScilabModules->ModuleList=NULL; 00055 } 00056 ScilabModules->numberofModules=0; 00057 FREE(ScilabModules); 00058 ScilabModules=NULL; 00059 00060 } 00061 00062 return bOK; 00063 }
Here is the caller graph for this function:

| struct MODULESLIST* getmodules | ( | void | ) |
Definition at line 27 of file getmodules.c.
References MALLOC, NULL, ReadModulesFile(), and ScilabModules.
Referenced by C2F(), InitializeCore(), LoadHashTablesLocalization(), and with_module().
00028 { 00029 if (ScilabModules==NULL) 00030 { 00031 ScilabModules=(struct MODULESLIST *)MALLOC(sizeof(struct MODULESLIST)); 00032 ReadModulesFile(); 00033 } 00034 return ScilabModules; 00035 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1