diff --git a/wrap/Class.cpp b/wrap/Class.cpp index 8c86ccc58..f6763ac31 100644 --- a/wrap/Class.cpp +++ b/wrap/Class.cpp @@ -51,7 +51,7 @@ void Class::matlab_proxy(const string& classFile) const { file.oss << "end" << endl; // close file - file.emit(false); + file.emit(true); } /* ************************************************************************* */ diff --git a/wrap/Method.cpp b/wrap/Method.cpp index cf280c1d1..3d53956f1 100644 --- a/wrap/Method.cpp +++ b/wrap/Method.cpp @@ -42,7 +42,7 @@ void Method::matlab_mfile(const string& classPath) const { file.oss << "end" << endl; // close file - file.emit(false); + file.emit(true); } /* ************************************************************************* */ diff --git a/wrap/StaticMethod.cpp b/wrap/StaticMethod.cpp index e066d41d8..3dd9e7c8b 100644 --- a/wrap/StaticMethod.cpp +++ b/wrap/StaticMethod.cpp @@ -43,7 +43,7 @@ void StaticMethod::matlab_mfile(const string& toolboxPath, const string& classNa file.oss << "end" << endl; // close file - file.emit(false); + file.emit(true); } /* ************************************************************************* */ diff --git a/wrap/tests/expected/@Point2/Point2.m b/wrap/tests/expected/@Point2/Point2.m index b8cb9a12a..b5545f915 100644 --- a/wrap/tests/expected/@Point2/Point2.m +++ b/wrap/tests/expected/@Point2/Point2.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef Point2 properties self = 0 diff --git a/wrap/tests/expected/@Point2/argChar.cpp b/wrap/tests/expected/@Point2/argChar.cpp new file mode 100644 index 000000000..16187cfec --- /dev/null +++ b/wrap/tests/expected/@Point2/argChar.cpp @@ -0,0 +1,11 @@ +// automatically generated by wrap +#include +#include +using namespace geometry; +void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) +{ + checkArguments("argChar",nargout,nargin-1,1); + shared_ptr self = unwrap_shared_ptr< Point2 >(in[0],"Point2"); + char a = unwrap< char >(in[1]); + self->argChar(a); +} diff --git a/wrap/tests/expected/@Point2/argChar.m b/wrap/tests/expected/@Point2/argChar.m new file mode 100644 index 000000000..3eccf4b76 --- /dev/null +++ b/wrap/tests/expected/@Point2/argChar.m @@ -0,0 +1,5 @@ + automatically generated by wrap +function result = argChar(obj,a) +% usage: obj.argChar(a) + error('need to compile argChar.cpp'); +end diff --git a/wrap/tests/expected/@Point2/dim.cpp b/wrap/tests/expected/@Point2/dim.cpp index 47a7172f5..f4fa9be65 100644 --- a/wrap/tests/expected/@Point2/dim.cpp +++ b/wrap/tests/expected/@Point2/dim.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Point2/dim.m b/wrap/tests/expected/@Point2/dim.m index 40715292e..011eb28a7 100644 --- a/wrap/tests/expected/@Point2/dim.m +++ b/wrap/tests/expected/@Point2/dim.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = dim(obj) % usage: obj.dim() error('need to compile dim.cpp'); diff --git a/wrap/tests/expected/@Point2/returnChar.cpp b/wrap/tests/expected/@Point2/returnChar.cpp new file mode 100644 index 000000000..8ec723283 --- /dev/null +++ b/wrap/tests/expected/@Point2/returnChar.cpp @@ -0,0 +1,11 @@ +// automatically generated by wrap +#include +#include +using namespace geometry; +void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) +{ + checkArguments("returnChar",nargout,nargin-1,0); + shared_ptr self = unwrap_shared_ptr< Point2 >(in[0],"Point2"); + char result = self->returnChar(); + out[0] = wrap< char >(result); +} diff --git a/wrap/tests/expected/@Point2/returnChar.m b/wrap/tests/expected/@Point2/returnChar.m new file mode 100644 index 000000000..c9334a503 --- /dev/null +++ b/wrap/tests/expected/@Point2/returnChar.m @@ -0,0 +1,5 @@ + automatically generated by wrap +function result = returnChar(obj) +% usage: obj.returnChar() + error('need to compile returnChar.cpp'); +end diff --git a/wrap/tests/expected/@Point2/vectorConfusion.cpp b/wrap/tests/expected/@Point2/vectorConfusion.cpp index 2a2234529..cd8be15d2 100644 --- a/wrap/tests/expected/@Point2/vectorConfusion.cpp +++ b/wrap/tests/expected/@Point2/vectorConfusion.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Point2/vectorConfusion.m b/wrap/tests/expected/@Point2/vectorConfusion.m index d141e8085..0db1db291 100644 --- a/wrap/tests/expected/@Point2/vectorConfusion.m +++ b/wrap/tests/expected/@Point2/vectorConfusion.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = vectorConfusion(obj) % usage: obj.vectorConfusion() error('need to compile vectorConfusion.cpp'); diff --git a/wrap/tests/expected/@Point2/x.cpp b/wrap/tests/expected/@Point2/x.cpp index f53befc28..2c994c8e2 100644 --- a/wrap/tests/expected/@Point2/x.cpp +++ b/wrap/tests/expected/@Point2/x.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Point2/x.m b/wrap/tests/expected/@Point2/x.m index f91039ab7..0a6e99d16 100644 --- a/wrap/tests/expected/@Point2/x.m +++ b/wrap/tests/expected/@Point2/x.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = x(obj) % usage: obj.x() error('need to compile x.cpp'); diff --git a/wrap/tests/expected/@Point2/y.cpp b/wrap/tests/expected/@Point2/y.cpp index 5933a554b..d0b007125 100644 --- a/wrap/tests/expected/@Point2/y.cpp +++ b/wrap/tests/expected/@Point2/y.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Point2/y.m b/wrap/tests/expected/@Point2/y.m index f9f36ae90..ee5a55e1d 100644 --- a/wrap/tests/expected/@Point2/y.m +++ b/wrap/tests/expected/@Point2/y.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = y(obj) % usage: obj.y() error('need to compile y.cpp'); diff --git a/wrap/tests/expected/@Point3/Point3.m b/wrap/tests/expected/@Point3/Point3.m index aba7ffedd..a83c13792 100644 --- a/wrap/tests/expected/@Point3/Point3.m +++ b/wrap/tests/expected/@Point3/Point3.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef Point3 properties self = 0 diff --git a/wrap/tests/expected/@Point3/norm.cpp b/wrap/tests/expected/@Point3/norm.cpp index f8f1318f9..9936958d7 100644 --- a/wrap/tests/expected/@Point3/norm.cpp +++ b/wrap/tests/expected/@Point3/norm.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Point3/norm.m b/wrap/tests/expected/@Point3/norm.m index dc4e62597..bb6482df4 100644 --- a/wrap/tests/expected/@Point3/norm.m +++ b/wrap/tests/expected/@Point3/norm.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = norm(obj) % usage: obj.norm() error('need to compile norm.cpp'); diff --git a/wrap/tests/expected/@Test/Test.m b/wrap/tests/expected/@Test/Test.m index 7c46da816..66a110f2f 100644 --- a/wrap/tests/expected/@Test/Test.m +++ b/wrap/tests/expected/@Test/Test.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef Test properties self = 0 diff --git a/wrap/tests/expected/@Test/arg_EigenConstRef.cpp b/wrap/tests/expected/@Test/arg_EigenConstRef.cpp index 15819d68b..487741c07 100644 --- a/wrap/tests/expected/@Test/arg_EigenConstRef.cpp +++ b/wrap/tests/expected/@Test/arg_EigenConstRef.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/arg_EigenConstRef.m b/wrap/tests/expected/@Test/arg_EigenConstRef.m index e353faa29..76f190d99 100644 --- a/wrap/tests/expected/@Test/arg_EigenConstRef.m +++ b/wrap/tests/expected/@Test/arg_EigenConstRef.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = arg_EigenConstRef(obj,value) % usage: obj.arg_EigenConstRef(value) error('need to compile arg_EigenConstRef.cpp'); diff --git a/wrap/tests/expected/@Test/create_MixedPtrs.cpp b/wrap/tests/expected/@Test/create_MixedPtrs.cpp index 27a663d81..269bb990c 100644 --- a/wrap/tests/expected/@Test/create_MixedPtrs.cpp +++ b/wrap/tests/expected/@Test/create_MixedPtrs.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/create_MixedPtrs.m b/wrap/tests/expected/@Test/create_MixedPtrs.m index 9062cabcb..764ce822c 100644 --- a/wrap/tests/expected/@Test/create_MixedPtrs.m +++ b/wrap/tests/expected/@Test/create_MixedPtrs.m @@ -1,3 +1,4 @@ + automatically generated by wrap function [first,second] = create_MixedPtrs(obj) % usage: obj.create_MixedPtrs() error('need to compile create_MixedPtrs.cpp'); diff --git a/wrap/tests/expected/@Test/create_ptrs.cpp b/wrap/tests/expected/@Test/create_ptrs.cpp index 48a9e4645..bfd9f39bf 100644 --- a/wrap/tests/expected/@Test/create_ptrs.cpp +++ b/wrap/tests/expected/@Test/create_ptrs.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/create_ptrs.m b/wrap/tests/expected/@Test/create_ptrs.m index 11af0ac5b..b1623b5bc 100644 --- a/wrap/tests/expected/@Test/create_ptrs.m +++ b/wrap/tests/expected/@Test/create_ptrs.m @@ -1,3 +1,4 @@ + automatically generated by wrap function [first,second] = create_ptrs(obj) % usage: obj.create_ptrs() error('need to compile create_ptrs.cpp'); diff --git a/wrap/tests/expected/@Test/print.cpp b/wrap/tests/expected/@Test/print.cpp index e945988b5..e93f5f09a 100644 --- a/wrap/tests/expected/@Test/print.cpp +++ b/wrap/tests/expected/@Test/print.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/print.m b/wrap/tests/expected/@Test/print.m index cf181c3cf..2adca017d 100644 --- a/wrap/tests/expected/@Test/print.m +++ b/wrap/tests/expected/@Test/print.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = print(obj) % usage: obj.print() error('need to compile print.cpp'); diff --git a/wrap/tests/expected/@Test/return_Point2Ptr.cpp b/wrap/tests/expected/@Test/return_Point2Ptr.cpp index f6f366f8d..9ad2a4360 100644 --- a/wrap/tests/expected/@Test/return_Point2Ptr.cpp +++ b/wrap/tests/expected/@Test/return_Point2Ptr.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_Point2Ptr.m b/wrap/tests/expected/@Test/return_Point2Ptr.m index 2da8b3710..410081dcb 100644 --- a/wrap/tests/expected/@Test/return_Point2Ptr.m +++ b/wrap/tests/expected/@Test/return_Point2Ptr.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_Point2Ptr(obj,value) % usage: obj.return_Point2Ptr(value) error('need to compile return_Point2Ptr.cpp'); diff --git a/wrap/tests/expected/@Test/return_Test.cpp b/wrap/tests/expected/@Test/return_Test.cpp index 0ead17cb2..73c63a899 100644 --- a/wrap/tests/expected/@Test/return_Test.cpp +++ b/wrap/tests/expected/@Test/return_Test.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_Test.m b/wrap/tests/expected/@Test/return_Test.m index 01f4ec61b..2faa73be3 100644 --- a/wrap/tests/expected/@Test/return_Test.m +++ b/wrap/tests/expected/@Test/return_Test.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_Test(obj,value) % usage: obj.return_Test(value) error('need to compile return_Test.cpp'); diff --git a/wrap/tests/expected/@Test/return_TestPtr.cpp b/wrap/tests/expected/@Test/return_TestPtr.cpp index 3aae3fdb9..607e48cfd 100644 --- a/wrap/tests/expected/@Test/return_TestPtr.cpp +++ b/wrap/tests/expected/@Test/return_TestPtr.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_TestPtr.m b/wrap/tests/expected/@Test/return_TestPtr.m index e1d0c90f5..7c40e76c6 100644 --- a/wrap/tests/expected/@Test/return_TestPtr.m +++ b/wrap/tests/expected/@Test/return_TestPtr.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_TestPtr(obj,value) % usage: obj.return_TestPtr(value) error('need to compile return_TestPtr.cpp'); diff --git a/wrap/tests/expected/@Test/return_bool.cpp b/wrap/tests/expected/@Test/return_bool.cpp index 3581777ed..d700ead2b 100644 --- a/wrap/tests/expected/@Test/return_bool.cpp +++ b/wrap/tests/expected/@Test/return_bool.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_bool.m b/wrap/tests/expected/@Test/return_bool.m index 185ab992d..76fc4363b 100644 --- a/wrap/tests/expected/@Test/return_bool.m +++ b/wrap/tests/expected/@Test/return_bool.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_bool(obj,value) % usage: obj.return_bool(value) error('need to compile return_bool.cpp'); diff --git a/wrap/tests/expected/@Test/return_double.cpp b/wrap/tests/expected/@Test/return_double.cpp index d2f08c939..38770e1cd 100644 --- a/wrap/tests/expected/@Test/return_double.cpp +++ b/wrap/tests/expected/@Test/return_double.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_double.m b/wrap/tests/expected/@Test/return_double.m index a6ba733cf..daed1d34b 100644 --- a/wrap/tests/expected/@Test/return_double.m +++ b/wrap/tests/expected/@Test/return_double.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_double(obj,value) % usage: obj.return_double(value) error('need to compile return_double.cpp'); diff --git a/wrap/tests/expected/@Test/return_field.cpp b/wrap/tests/expected/@Test/return_field.cpp index 9de7a9ed6..b5e067801 100644 --- a/wrap/tests/expected/@Test/return_field.cpp +++ b/wrap/tests/expected/@Test/return_field.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_field.m b/wrap/tests/expected/@Test/return_field.m index 278ffa411..11b5ebe07 100644 --- a/wrap/tests/expected/@Test/return_field.m +++ b/wrap/tests/expected/@Test/return_field.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_field(obj,t) % usage: obj.return_field(t) error('need to compile return_field.cpp'); diff --git a/wrap/tests/expected/@Test/return_int.cpp b/wrap/tests/expected/@Test/return_int.cpp index f94551f03..e2dfd25e8 100644 --- a/wrap/tests/expected/@Test/return_int.cpp +++ b/wrap/tests/expected/@Test/return_int.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_int.m b/wrap/tests/expected/@Test/return_int.m index 8b613285c..a6783acdf 100644 --- a/wrap/tests/expected/@Test/return_int.m +++ b/wrap/tests/expected/@Test/return_int.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_int(obj,value) % usage: obj.return_int(value) error('need to compile return_int.cpp'); diff --git a/wrap/tests/expected/@Test/return_matrix1.cpp b/wrap/tests/expected/@Test/return_matrix1.cpp index 2e726f572..8bb9acff8 100644 --- a/wrap/tests/expected/@Test/return_matrix1.cpp +++ b/wrap/tests/expected/@Test/return_matrix1.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_matrix1.m b/wrap/tests/expected/@Test/return_matrix1.m index 29743158c..302f15372 100644 --- a/wrap/tests/expected/@Test/return_matrix1.m +++ b/wrap/tests/expected/@Test/return_matrix1.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_matrix1(obj,value) % usage: obj.return_matrix1(value) error('need to compile return_matrix1.cpp'); diff --git a/wrap/tests/expected/@Test/return_matrix2.cpp b/wrap/tests/expected/@Test/return_matrix2.cpp index 1e18e3aba..f1a22da47 100644 --- a/wrap/tests/expected/@Test/return_matrix2.cpp +++ b/wrap/tests/expected/@Test/return_matrix2.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_matrix2.m b/wrap/tests/expected/@Test/return_matrix2.m index e9ec91678..3ed4d0ec7 100644 --- a/wrap/tests/expected/@Test/return_matrix2.m +++ b/wrap/tests/expected/@Test/return_matrix2.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_matrix2(obj,value) % usage: obj.return_matrix2(value) error('need to compile return_matrix2.cpp'); diff --git a/wrap/tests/expected/@Test/return_pair.cpp b/wrap/tests/expected/@Test/return_pair.cpp index 81802130a..8f6949d7c 100644 --- a/wrap/tests/expected/@Test/return_pair.cpp +++ b/wrap/tests/expected/@Test/return_pair.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_pair.m b/wrap/tests/expected/@Test/return_pair.m index a97f7c46e..abb97336c 100644 --- a/wrap/tests/expected/@Test/return_pair.m +++ b/wrap/tests/expected/@Test/return_pair.m @@ -1,3 +1,4 @@ + automatically generated by wrap function [first,second] = return_pair(obj,v,A) % usage: obj.return_pair(v,A) error('need to compile return_pair.cpp'); diff --git a/wrap/tests/expected/@Test/return_ptrs.cpp b/wrap/tests/expected/@Test/return_ptrs.cpp index 27085fcc6..20d6c57fe 100644 --- a/wrap/tests/expected/@Test/return_ptrs.cpp +++ b/wrap/tests/expected/@Test/return_ptrs.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_ptrs.m b/wrap/tests/expected/@Test/return_ptrs.m index ef7f8e5fc..bed198563 100644 --- a/wrap/tests/expected/@Test/return_ptrs.m +++ b/wrap/tests/expected/@Test/return_ptrs.m @@ -1,3 +1,4 @@ + automatically generated by wrap function [first,second] = return_ptrs(obj,p1,p2) % usage: obj.return_ptrs(p1,p2) error('need to compile return_ptrs.cpp'); diff --git a/wrap/tests/expected/@Test/return_size_t.cpp b/wrap/tests/expected/@Test/return_size_t.cpp index 94b7d7b6c..6b12a167b 100644 --- a/wrap/tests/expected/@Test/return_size_t.cpp +++ b/wrap/tests/expected/@Test/return_size_t.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_size_t.m b/wrap/tests/expected/@Test/return_size_t.m index bc2734410..7cb2c6f0f 100644 --- a/wrap/tests/expected/@Test/return_size_t.m +++ b/wrap/tests/expected/@Test/return_size_t.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_size_t(obj,value) % usage: obj.return_size_t(value) error('need to compile return_size_t.cpp'); diff --git a/wrap/tests/expected/@Test/return_string.cpp b/wrap/tests/expected/@Test/return_string.cpp index 786d98955..c05a57fba 100644 --- a/wrap/tests/expected/@Test/return_string.cpp +++ b/wrap/tests/expected/@Test/return_string.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_string.m b/wrap/tests/expected/@Test/return_string.m index 3f2304a65..5661df443 100644 --- a/wrap/tests/expected/@Test/return_string.m +++ b/wrap/tests/expected/@Test/return_string.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_string(obj,value) % usage: obj.return_string(value) error('need to compile return_string.cpp'); diff --git a/wrap/tests/expected/@Test/return_vector1.cpp b/wrap/tests/expected/@Test/return_vector1.cpp index a2e5108bd..3710e5d48 100644 --- a/wrap/tests/expected/@Test/return_vector1.cpp +++ b/wrap/tests/expected/@Test/return_vector1.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_vector1.m b/wrap/tests/expected/@Test/return_vector1.m index f67382978..3746c4c20 100644 --- a/wrap/tests/expected/@Test/return_vector1.m +++ b/wrap/tests/expected/@Test/return_vector1.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_vector1(obj,value) % usage: obj.return_vector1(value) error('need to compile return_vector1.cpp'); diff --git a/wrap/tests/expected/@Test/return_vector2.cpp b/wrap/tests/expected/@Test/return_vector2.cpp index 03d584d06..72564f05c 100644 --- a/wrap/tests/expected/@Test/return_vector2.cpp +++ b/wrap/tests/expected/@Test/return_vector2.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/@Test/return_vector2.m b/wrap/tests/expected/@Test/return_vector2.m index 95b6bcfd6..426c63457 100644 --- a/wrap/tests/expected/@Test/return_vector2.m +++ b/wrap/tests/expected/@Test/return_vector2.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = return_vector2(obj,value) % usage: obj.return_vector2(value) error('need to compile return_vector2.cpp'); diff --git a/wrap/tests/expected/Makefile b/wrap/tests/expected/Makefile index 662e1586b..cc5f06578 100644 --- a/wrap/tests/expected/Makefile +++ b/wrap/tests/expected/Makefile @@ -1,4 +1,4 @@ -# automatically generated by wrap on 2012-Jan-23 +# automatically generated by wrap MEX = mex MEXENDING = mexa64 diff --git a/wrap/tests/expected/Point3_StaticFunctionRet.cpp b/wrap/tests/expected/Point3_StaticFunctionRet.cpp index 4be4329ed..062194bd5 100644 --- a/wrap/tests/expected/Point3_StaticFunctionRet.cpp +++ b/wrap/tests/expected/Point3_StaticFunctionRet.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/Point3_StaticFunctionRet.m b/wrap/tests/expected/Point3_StaticFunctionRet.m index 25a9d6ff2..433d3c00d 100644 --- a/wrap/tests/expected/Point3_StaticFunctionRet.m +++ b/wrap/tests/expected/Point3_StaticFunctionRet.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = Point3_StaticFunctionRet(z) % usage: x = Point3_StaticFunctionRet(z) error('need to compile Point3_StaticFunctionRet.cpp'); diff --git a/wrap/tests/expected/Point3_staticFunction.cpp b/wrap/tests/expected/Point3_staticFunction.cpp index 7024cb9d7..6adfdbe5a 100644 --- a/wrap/tests/expected/Point3_staticFunction.cpp +++ b/wrap/tests/expected/Point3_staticFunction.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/Point3_staticFunction.m b/wrap/tests/expected/Point3_staticFunction.m index 441bb5bc6..ccf9b85bd 100644 --- a/wrap/tests/expected/Point3_staticFunction.m +++ b/wrap/tests/expected/Point3_staticFunction.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = Point3_staticFunction() % usage: x = Point3_staticFunction() error('need to compile Point3_staticFunction.cpp'); diff --git a/wrap/tests/expected/make_geometry.m b/wrap/tests/expected/make_geometry.m index 1824d8b74..ce2208e7e 100644 --- a/wrap/tests/expected/make_geometry.m +++ b/wrap/tests/expected/make_geometry.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-23 +% automatically generated by wrap echo on toolboxpath = mfilename('fullpath'); diff --git a/wrap/tests/expected/new_Point2_.cpp b/wrap/tests/expected/new_Point2_.cpp index 9b3aa2fa5..661307b60 100644 --- a/wrap/tests/expected/new_Point2_.cpp +++ b/wrap/tests/expected/new_Point2_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/new_Point2_.m b/wrap/tests/expected/new_Point2_.m index e2215bfec..b0b655b5e 100644 --- a/wrap/tests/expected/new_Point2_.m +++ b/wrap/tests/expected/new_Point2_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-15 +% automatically generated by wrap function result = new_Point2_(obj) error('need to compile new_Point2_.cpp'); end diff --git a/wrap/tests/expected/new_Point2_dd.cpp b/wrap/tests/expected/new_Point2_dd.cpp index 496e22239..2c6e743ca 100644 --- a/wrap/tests/expected/new_Point2_dd.cpp +++ b/wrap/tests/expected/new_Point2_dd.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/new_Point2_dd.m b/wrap/tests/expected/new_Point2_dd.m index 947e9477d..4a769ce30 100644 --- a/wrap/tests/expected/new_Point2_dd.m +++ b/wrap/tests/expected/new_Point2_dd.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-15 +% automatically generated by wrap function result = new_Point2_dd(obj,x,y) error('need to compile new_Point2_dd.cpp'); end diff --git a/wrap/tests/expected/new_Point3_ddd.cpp b/wrap/tests/expected/new_Point3_ddd.cpp index b3b410443..aa45dc71c 100644 --- a/wrap/tests/expected/new_Point3_ddd.cpp +++ b/wrap/tests/expected/new_Point3_ddd.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/new_Point3_ddd.m b/wrap/tests/expected/new_Point3_ddd.m index 089268cc1..154dda1d0 100644 --- a/wrap/tests/expected/new_Point3_ddd.m +++ b/wrap/tests/expected/new_Point3_ddd.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-15 +% automatically generated by wrap function result = new_Point3_ddd(obj,x,y,z) error('need to compile new_Point3_ddd.cpp'); end diff --git a/wrap/tests/expected/new_Test_.cpp b/wrap/tests/expected/new_Test_.cpp index 0080e3b21..9c66706ae 100644 --- a/wrap/tests/expected/new_Test_.cpp +++ b/wrap/tests/expected/new_Test_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/new_Test_.m b/wrap/tests/expected/new_Test_.m index b1b04f083..33c465f8b 100644 --- a/wrap/tests/expected/new_Test_.m +++ b/wrap/tests/expected/new_Test_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-15 +% automatically generated by wrap function result = new_Test_(obj) error('need to compile new_Test_.cpp'); end diff --git a/wrap/tests/expected/new_Test_b.cpp b/wrap/tests/expected/new_Test_b.cpp deleted file mode 100644 index 921c692af..000000000 --- a/wrap/tests/expected/new_Test_b.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// automatically generated by wrap on 2011-Dec-01 -#include -#include -void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) -{ - checkArguments("new_Test_b",nargout,nargin,1); - bool value = unwrap< bool >(in[0]); - Test* self = new Test(value); - out[0] = wrap_constructed(self,"Test"); -} diff --git a/wrap/tests/expected/new_Test_b.m b/wrap/tests/expected/new_Test_b.m deleted file mode 100644 index a07945d9f..000000000 --- a/wrap/tests/expected/new_Test_b.m +++ /dev/null @@ -1,4 +0,0 @@ -% automatically generated by wrap on 2011-Dec-01 -function result = new_Test_b(obj,value) - error('need to compile new_Test_b.cpp'); -end diff --git a/wrap/tests/expected/new_Test_dM.cpp b/wrap/tests/expected/new_Test_dM.cpp index 5a4ad0bd8..e8a7c8de1 100644 --- a/wrap/tests/expected/new_Test_dM.cpp +++ b/wrap/tests/expected/new_Test_dM.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2012-Jan-15 +// automatically generated by wrap #include #include using namespace geometry; diff --git a/wrap/tests/expected/new_Test_dM.m b/wrap/tests/expected/new_Test_dM.m index 826432b9f..c7009d6a9 100644 --- a/wrap/tests/expected/new_Test_dM.m +++ b/wrap/tests/expected/new_Test_dM.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2012-Jan-15 +% automatically generated by wrap function result = new_Test_dM(obj,a,b) error('need to compile new_Test_dM.cpp'); end diff --git a/wrap/tests/expected_namespaces/@ClassD/ClassD.m b/wrap/tests/expected_namespaces/@ClassD/ClassD.m index d6b5b452a..52fbab1e7 100644 --- a/wrap/tests/expected_namespaces/@ClassD/ClassD.m +++ b/wrap/tests/expected_namespaces/@ClassD/ClassD.m @@ -1,10 +1,11 @@ +% automatically generated by wrap classdef ClassD properties self = 0 end methods function obj = ClassD(varargin) - if nargin == 0, obj.self = new_ClassD_(); end + if (nargin == 0), obj.self = new_ClassD_(); end if nargin ~= 13 && obj.self == 0, error('ClassD constructor failed'); end end function display(obj), obj.print(''); end diff --git a/wrap/tests/expected_namespaces/@ns1ClassA/ns1ClassA.m b/wrap/tests/expected_namespaces/@ns1ClassA/ns1ClassA.m index 1b05165b5..8d26fd069 100644 --- a/wrap/tests/expected_namespaces/@ns1ClassA/ns1ClassA.m +++ b/wrap/tests/expected_namespaces/@ns1ClassA/ns1ClassA.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef ns1ClassA properties self = 0 diff --git a/wrap/tests/expected_namespaces/@ns1ClassB/ns1ClassB.m b/wrap/tests/expected_namespaces/@ns1ClassB/ns1ClassB.m index 78313677b..9a307e5d3 100644 --- a/wrap/tests/expected_namespaces/@ns1ClassB/ns1ClassB.m +++ b/wrap/tests/expected_namespaces/@ns1ClassB/ns1ClassB.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef ns1ClassB properties self = 0 diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.cpp b/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.cpp index 8a8112f99..8e5bc3960 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.cpp +++ b/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.m b/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.m index 8e8d24bd7..4523cba56 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.m +++ b/wrap/tests/expected_namespaces/@ns2ClassA/memberFunction.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = memberFunction(obj) % usage: obj.memberFunction() error('need to compile memberFunction.cpp'); diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/ns2ClassA.m b/wrap/tests/expected_namespaces/@ns2ClassA/ns2ClassA.m index 2718d4cf1..1d3bc7577 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/ns2ClassA.m +++ b/wrap/tests/expected_namespaces/@ns2ClassA/ns2ClassA.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef ns2ClassA properties self = 0 diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.cpp b/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.cpp index 9e9edcf78..7c06bcfdc 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.cpp +++ b/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.m b/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.m index bdd4b387f..4893ece7f 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.m +++ b/wrap/tests/expected_namespaces/@ns2ClassA/nsArg.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = nsArg(obj,arg) % usage: obj.nsArg(arg) error('need to compile nsArg.cpp'); diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.cpp b/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.cpp index b7a967e2c..c6714ee9f 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.cpp +++ b/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.m b/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.m index d0d093a37..2c900bc30 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.m +++ b/wrap/tests/expected_namespaces/@ns2ClassA/nsReturn.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = nsReturn(obj,q) % usage: obj.nsReturn(q) error('need to compile nsReturn.cpp'); diff --git a/wrap/tests/expected_namespaces/@ns2ClassC/ns2ClassC.m b/wrap/tests/expected_namespaces/@ns2ClassC/ns2ClassC.m index 039f5add3..be0d267e7 100644 --- a/wrap/tests/expected_namespaces/@ns2ClassC/ns2ClassC.m +++ b/wrap/tests/expected_namespaces/@ns2ClassC/ns2ClassC.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef ns2ClassC properties self = 0 diff --git a/wrap/tests/expected_namespaces/@ns2ns3ClassB/ns2ns3ClassB.m b/wrap/tests/expected_namespaces/@ns2ns3ClassB/ns2ns3ClassB.m index 154c89d48..647a70772 100644 --- a/wrap/tests/expected_namespaces/@ns2ns3ClassB/ns2ns3ClassB.m +++ b/wrap/tests/expected_namespaces/@ns2ns3ClassB/ns2ns3ClassB.m @@ -1,3 +1,4 @@ +% automatically generated by wrap classdef ns2ns3ClassB properties self = 0 diff --git a/wrap/tests/expected_namespaces/Makefile b/wrap/tests/expected_namespaces/Makefile index 8a6bc3af7..dcc3b1dbd 100644 --- a/wrap/tests/expected_namespaces/Makefile +++ b/wrap/tests/expected_namespaces/Makefile @@ -1,4 +1,4 @@ -# automatically generated by wrap on 2011-Dec-15 +# automatically generated by wrap MEX = mex MEXENDING = mexa64 diff --git a/wrap/tests/expected_namespaces/make_testNamespaces.m b/wrap/tests/expected_namespaces/make_testNamespaces.m index 9a3ee5b6c..1dd743ffe 100644 --- a/wrap/tests/expected_namespaces/make_testNamespaces.m +++ b/wrap/tests/expected_namespaces/make_testNamespaces.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap echo on toolboxpath = mfilename('fullpath'); diff --git a/wrap/tests/expected_namespaces/new_ClassD_.cpp b/wrap/tests/expected_namespaces/new_ClassD_.cpp index c39f7c3fe..59ea4398b 100644 --- a/wrap/tests/expected_namespaces/new_ClassD_.cpp +++ b/wrap/tests/expected_namespaces/new_ClassD_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) diff --git a/wrap/tests/expected_namespaces/new_ClassD_.m b/wrap/tests/expected_namespaces/new_ClassD_.m index 99f139acf..abfd419f6 100644 --- a/wrap/tests/expected_namespaces/new_ClassD_.m +++ b/wrap/tests/expected_namespaces/new_ClassD_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ClassD_(obj) error('need to compile new_ClassD_.cpp'); end diff --git a/wrap/tests/expected_namespaces/new_ns1ClassA_.cpp b/wrap/tests/expected_namespaces/new_ns1ClassA_.cpp index 84fbe45bf..cbb82eb70 100644 --- a/wrap/tests/expected_namespaces/new_ns1ClassA_.cpp +++ b/wrap/tests/expected_namespaces/new_ns1ClassA_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) diff --git a/wrap/tests/expected_namespaces/new_ns1ClassA_.m b/wrap/tests/expected_namespaces/new_ns1ClassA_.m index ab53c21a2..054aba2f0 100644 --- a/wrap/tests/expected_namespaces/new_ns1ClassA_.m +++ b/wrap/tests/expected_namespaces/new_ns1ClassA_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ns1ClassA_(obj) error('need to compile new_ns1ClassA_.cpp'); end diff --git a/wrap/tests/expected_namespaces/new_ns1ClassB_.cpp b/wrap/tests/expected_namespaces/new_ns1ClassB_.cpp index 84670f1f1..d50cede19 100644 --- a/wrap/tests/expected_namespaces/new_ns1ClassB_.cpp +++ b/wrap/tests/expected_namespaces/new_ns1ClassB_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/new_ns1ClassB_.m b/wrap/tests/expected_namespaces/new_ns1ClassB_.m index 83f5daa6a..b92398a17 100644 --- a/wrap/tests/expected_namespaces/new_ns1ClassB_.m +++ b/wrap/tests/expected_namespaces/new_ns1ClassB_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ns1ClassB_(obj) error('need to compile new_ns1ClassB_.cpp'); end diff --git a/wrap/tests/expected_namespaces/new_ns2ClassA_.cpp b/wrap/tests/expected_namespaces/new_ns2ClassA_.cpp index a70341f17..81bae3198 100644 --- a/wrap/tests/expected_namespaces/new_ns2ClassA_.cpp +++ b/wrap/tests/expected_namespaces/new_ns2ClassA_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/new_ns2ClassA_.m b/wrap/tests/expected_namespaces/new_ns2ClassA_.m index 171b839b9..88dedf719 100644 --- a/wrap/tests/expected_namespaces/new_ns2ClassA_.m +++ b/wrap/tests/expected_namespaces/new_ns2ClassA_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ns2ClassA_(obj) error('need to compile new_ns2ClassA_.cpp'); end diff --git a/wrap/tests/expected_namespaces/new_ns2ClassC_.cpp b/wrap/tests/expected_namespaces/new_ns2ClassC_.cpp index 04d58a187..fbee07926 100644 --- a/wrap/tests/expected_namespaces/new_ns2ClassC_.cpp +++ b/wrap/tests/expected_namespaces/new_ns2ClassC_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) diff --git a/wrap/tests/expected_namespaces/new_ns2ClassC_.m b/wrap/tests/expected_namespaces/new_ns2ClassC_.m index 1858c3ada..b3f711e16 100644 --- a/wrap/tests/expected_namespaces/new_ns2ClassC_.m +++ b/wrap/tests/expected_namespaces/new_ns2ClassC_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ns2ClassC_(obj) error('need to compile new_ns2ClassC_.cpp'); end diff --git a/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.cpp b/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.cpp index 38970edf9..ca9d02df3 100644 --- a/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.cpp +++ b/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.m b/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.m index 9842b55e8..2696c2498 100644 --- a/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.m +++ b/wrap/tests/expected_namespaces/new_ns2ns3ClassB_.m @@ -1,4 +1,4 @@ -% automatically generated by wrap on 2011-Dec-15 +% automatically generated by wrap function result = new_ns2ns3ClassB_(obj) error('need to compile new_ns2ns3ClassB_.cpp'); end diff --git a/wrap/tests/expected_namespaces/ns2ClassA_afunction.cpp b/wrap/tests/expected_namespaces/ns2ClassA_afunction.cpp index 4ef71fcf4..72559acf8 100644 --- a/wrap/tests/expected_namespaces/ns2ClassA_afunction.cpp +++ b/wrap/tests/expected_namespaces/ns2ClassA_afunction.cpp @@ -1,4 +1,4 @@ -// automatically generated by wrap on 2011-Dec-15 +// automatically generated by wrap #include #include #include diff --git a/wrap/tests/expected_namespaces/ns2ClassA_afunction.m b/wrap/tests/expected_namespaces/ns2ClassA_afunction.m index 0482d1548..3a1101918 100644 --- a/wrap/tests/expected_namespaces/ns2ClassA_afunction.m +++ b/wrap/tests/expected_namespaces/ns2ClassA_afunction.m @@ -1,3 +1,4 @@ + automatically generated by wrap function result = ns2ClassA_afunction() % usage: x = ns2ClassA_afunction() error('need to compile ns2ClassA_afunction.cpp'); diff --git a/wrap/utilities.h b/wrap/utilities.h index ee7997645..384ff3749 100644 --- a/wrap/utilities.h +++ b/wrap/utilities.h @@ -75,7 +75,7 @@ std::string file_contents(const std::string& filename, bool skipheader=false); * Check whether two files are equal * By default, skips the first line of actual so header is not generated */ -bool files_equal(const std::string& expected, const std::string& actual, bool skipheader=true); +bool files_equal(const std::string& expected, const std::string& actual, bool skipheader=false); /** * Compare strings for unit tests