diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-11-26 12:08:08 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-11-26 12:08:08 -0500 |
commit | 60ec9495a0dfdbf08e52eea0e6c828014af06ddc (patch) | |
tree | 382e6fca3011ac3493ff7678c6a7f5488ecc05cf /dispatch.h | |
download | linux-matlab-gpib-60ec9495a0dfdbf08e52eea0e6c828014af06ddc.tar.gz linux-matlab-gpib-60ec9495a0dfdbf08e52eea0e6c828014af06ddc.zip |
init
Diffstat (limited to 'dispatch.h')
-rw-r--r-- | dispatch.h | 21 |
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 |