source: issm/trunk-jpl/src/mex/StringToEnum/StringToEnum.h@ 10937

Last change on this file since 10937 was 8223, checked in by Mathieu Morlighem, 14 years ago

Added 2 mex modules: StringToEnum and EnumToString

File size: 582 bytes
Line 
1/*!\file: StringToEnum.h
2 * \brief header file for StringToEnum module.
3 */
4
5#ifndef _STRINGTOENUM_H
6#define _STRINGTOENUM_H
7
8/* local prototypes: */
9void StringToEnumUsage(void);
10
11#include "../../c/modules/modules.h"
12#include "../../c/Container/Container.h"
13#include "../../c/shared/shared.h"
14
15/* serial input macros: */
16#define NAME (mxArray*)prhs[0]
17
18/* serial output macros: */
19#define ENUMOUT (mxArray**)&plhs[0]
20
21/* serial arg counts: */
22#undef NLHS
23#define NLHS 1
24#undef NRHS
25#define NRHS 1
26
27#undef __FUNCT__
28#define __FUNCT__ "StringToEnum"
29
30#endif /* _TEST_H */
Note: See TracBrowser for help on using the repository browser.