/*!\file Xy2ll.h * \brief: prototype for x/y to lat/long coordinate mex module. */ #ifndef _XY2LL_H #define _XY2LL_H /* local prototypes: */ void Xy2llUsage(void); #include "../../c/modules/modules.h" #include "../../c/Container/Container.h" #include "../../c/shared/shared.h" #undef __FUNCT__ #define __FUNCT__ "Xy2ll" /* serial input macros: */ #define X_IN prhs[0] #define Y_IN prhs[1] #define SGN_IN prhs[2] /* serial output macros: */ #define LAT_OUT (mxArray**)&plhs[0] #define LON_OUT (mxArray**)&plhs[1] /* serial arg counts: */ #undef NRHS #define NRHS 3 #undef NLHS #define NLHS 2 #endif