Started handling trivial case of return references. Removed most modules from build tree while testing (cmake/OpenCVModule)

This commit is contained in:
hbristow
2013-06-21 17:33:24 -07:00
parent d9cea3b8b0
commit 1a15ed3279
9 changed files with 127 additions and 48 deletions

View File

@@ -1,3 +1,4 @@
{% import 'functional.cpp' as functional %}
/*
* file: {{clss.name}}Bridge.cpp
* author: A trusty code generator
@@ -27,16 +28,7 @@ std::vector<Bridge> {{function.name}}({{clss.name}}& inst, const std::vector<Bri
// setup
// invoke
try {
// invoke
} catch(cv::Exception& e) {
mexErrMsgTxt(std::string("cv::exception caught: ").append(e.what()).c_str());
} catch(std::exception& e) {
mexErrMsgTxt(std::string("std::exception caught: ").append(e.what()).c_str());
} catch(...) {
mexErrMsgTxt("Uncaught exception occurred in {{function.name}}");
}
{{ functional.generate(function) }}
// setdown
}