aboutsummaryrefslogtreecommitdiff
path: root/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.h')
-rw-r--r--dispatch.h21
1 files changed, 21 insertions, 0 deletions
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