Backported globbing from master.

This commit is contained in:
Roman Donchenko
2013-04-10 19:36:39 +04:00
parent 71896544ca
commit f64d512774
3 changed files with 263 additions and 0 deletions

View File

@@ -225,6 +225,8 @@ CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
#define CV_DbgAssert(expr)
#endif
CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false);
CV_EXPORTS void setNumThreads(int nthreads);
CV_EXPORTS int getNumThreads();
CV_EXPORTS int getThreadNum();