From 60ec9495a0dfdbf08e52eea0e6c828014af06ddc Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 26 Nov 2013 12:08:08 -0500 Subject: init --- dispatch.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dispatch.h (limited to 'dispatch.h') diff --git a/dispatch.h b/dispatch.h new file mode 100644 index 0000000..8d8c819 --- /dev/null +++ b/dispatch.h @@ -0,0 +1,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 \ No newline at end of file -- cgit v1.2.3