Fixed wrap unit test
parent
70ab363adf
commit
2e6de9e9a1
|
@ -13,6 +13,7 @@ typedef std::set<boost::shared_ptr<Point3>*> Collector_Point3;
|
||||||
static Collector_Point3 collector_Point3;
|
static Collector_Point3 collector_Point3;
|
||||||
typedef std::set<boost::shared_ptr<Test>*> Collector_Test;
|
typedef std::set<boost::shared_ptr<Test>*> Collector_Test;
|
||||||
static Collector_Test collector_Test;
|
static Collector_Test collector_Test;
|
||||||
|
|
||||||
void _deleteAllObjects()
|
void _deleteAllObjects()
|
||||||
{
|
{
|
||||||
for(Collector_Point2::iterator iter = collector_Point2.begin();
|
for(Collector_Point2::iterator iter = collector_Point2.begin();
|
||||||
|
@ -462,6 +463,7 @@ using namespace geometry;
|
||||||
out[0] = wrap< Vector >(obj->return_vector2(value));
|
out[0] = wrap< Vector >(obj->return_vector2(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
{
|
{
|
||||||
mstream mout;
|
mstream mout;
|
||||||
|
|
|
@ -25,6 +25,7 @@ typedef std::set<boost::shared_ptr<ns2::ClassC>*> Collector_ns2ClassC;
|
||||||
static Collector_ns2ClassC collector_ns2ClassC;
|
static Collector_ns2ClassC collector_ns2ClassC;
|
||||||
typedef std::set<boost::shared_ptr<ClassD>*> Collector_ClassD;
|
typedef std::set<boost::shared_ptr<ClassD>*> Collector_ClassD;
|
||||||
static Collector_ClassD collector_ClassD;
|
static Collector_ClassD collector_ClassD;
|
||||||
|
|
||||||
void _deleteAllObjects()
|
void _deleteAllObjects()
|
||||||
{
|
{
|
||||||
for(Collector_ns1ClassA::iterator iter = collector_ns1ClassA.begin();
|
for(Collector_ns1ClassA::iterator iter = collector_ns1ClassA.begin();
|
||||||
|
@ -285,6 +286,7 @@ void ClassD_deconstructor_21(int nargout, mxArray *out[], int nargin, const mxAr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
{
|
{
|
||||||
mstream mout;
|
mstream mout;
|
||||||
|
|
Loading…
Reference in New Issue