2012-05-05 03:14:58 +08:00
|
|
|
// automatically generated by wrap
|
|
|
|
|
#include <wrap/matlab.h>
|
2012-06-29 00:13:22 +08:00
|
|
|
#include <set>
|
2012-05-05 03:14:58 +08:00
|
|
|
#include <Point2.h>
|
2012-06-29 00:13:22 +08:00
|
|
|
typedef boost::shared_ptr<Point2> Shared;
|
2012-05-05 03:14:58 +08:00
|
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
|
|
|
{
|
|
|
|
|
checkArguments("argUChar",nargout,nargin-1,1);
|
2012-06-29 00:13:22 +08:00
|
|
|
mxArray* mxh = mxGetProperty(in[0],0,"self");
|
|
|
|
|
Shared* self = *reinterpret_cast<Shared**> (mxGetPr(mxh));
|
|
|
|
|
Shared obj = *self;
|
|
|
|
|
unsigned char a = unwrap< unsigned char >(in[1]);
|
|
|
|
|
obj->argUChar(a);
|
2012-05-05 03:14:58 +08:00
|
|
|
}
|