aboutsummaryrefslogtreecommitdiff
path: root/dispatch.h
blob: 8d8c81939139264adf3105ed00878f7fa8f9ef98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DISPATCH_H
#define DISPATCH_H

typedef struct tagDispatchTableEntry {
    char *function_name;
    int nlhs;
    int nrhs;
    int (*handler)(int,mxArray *[],int,const mxArray *[]);
    char **help;
} DispatchTableEntry;

#ifndef DISPATCH_C
extern int counter;
extern char *help_help;
#endif

void displayValidFunctions();
void ExitFcn();
int help_handler(int nlhs,mxArray*plhs[],int nrhs,const mxArray* prhs[]);
       
#endif