FTables.h File Reference

#include "machine.h"

Include dependency graph for FTables.h:

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

Go to the source code of this file.

Data Structures

struct  doublecmplx
struct  FTAB

Defines

#define OK   1
#define FAIL   0
#define MAXNAME   32

Typedefs

typedef void(*) voidf ()

Functions

voidf SetFunction (char *name, int *rep, FTAB *table)


Define Documentation

#define FAIL   0

Definition at line 9 of file FTables.h.

Referenced by __PARAMS(), Sci_Delsym(), Sci_dlopen(), Sci_dlsym(), SciLink(), SciLinkInit(), and SearchComp().

#define MAXNAME   32

Definition at line 20 of file FTables.h.

Referenced by Sci_dlsym(), SciLink(), and SetFunction().

#define OK   1

Definition at line 8 of file FTables.h.

Referenced by action_hashtable_scilab_functions(), ExposePrintdialogWindow(), GetScalarDouble(), GetScalarInt(), GetString(), MessageOk(), MessageOk1(), PrintDlgOk(), SaveDlgOk(), Sci_dlopen(), Sci_dlsym(), SciLink(), SearchComp(), SetFunction(), ShowDynLinks(), and ulinkall().


Typedef Documentation

typedef void(*) voidf()

Definition at line 11 of file FTables.h.


Function Documentation

voidf SetFunction ( char *  name,
int rep,
FTAB table 
)

Definition at line 26 of file FTables.c.

Referenced by GetFuncPtr(), setfschur(), setfydot2(), setgshsel(), setgzhsel(), setschsel(), and setzchsel().

00027 {
00028   void (*loc)();
00029   char *s;
00030 
00031   strncpy(buf,name,MAXNAME);
00032   s=buf;
00033   while ( *s != ' ' && *s != '\0') { s++;};
00034   *s= '\0';
00035   if ( SearchComp(table,buf,&loc) == OK) 
00036     {
00037       *rep = 0;
00038       return(loc);
00039     }
00040   if ( SearchInDynLinks(buf,&loc) >= 0 )
00041     {
00042       *rep = 0;
00043       return(loc);
00044     }
00045   loc = Emptyfunc;
00046   *rep = 1;
00047   /* sciprint(" Function %s not found\r\n",name); */
00048   return(loc);
00049 }

Here is the caller graph for this function:


Generated on Sun Mar 4 15:12:13 2007 for Scilab [trunk] by  doxygen 1.5.1