From ff7ea605ef1d058a56c664943e9c1c6990399145 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 14 Dec 2014 11:55:02 +0200 Subject: [PATCH] export thread control to generated wrappers --- modules/core/include/opencv2/core/core.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/include/opencv2/core/core.hpp b/modules/core/include/opencv2/core/core.hpp index dbd6bc74d1..49df166fed 100644 --- a/modules/core/include/opencv2/core/core.hpp +++ b/modules/core/include/opencv2/core/core.hpp @@ -230,9 +230,9 @@ CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback, CV_EXPORTS void glob(String pattern, std::vector& result, bool recursive = false); -CV_EXPORTS void setNumThreads(int nthreads); -CV_EXPORTS int getNumThreads(); -CV_EXPORTS int getThreadNum(); +CV_EXPORTS_W void setNumThreads(int nthreads); +CV_EXPORTS_W int getNumThreads(); +CV_EXPORTS_W int getThreadNum(); CV_EXPORTS_W const string& getBuildInformation();