added helper macros to the function declarations
This commit is contained in:
@@ -212,7 +212,7 @@ CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
|
||||
#define CV_DbgAssert(expr)
|
||||
#endif
|
||||
|
||||
CV_EXPORTS void setNumThreads(int);
|
||||
CV_EXPORTS void setNumThreads(int nthreads);
|
||||
CV_EXPORTS int getNumThreads();
|
||||
CV_EXPORTS int getThreadNum();
|
||||
|
||||
@@ -330,7 +330,7 @@ static inline size_t alignSize(size_t sz, int n)
|
||||
\note{Since optimization may imply using special data structures, it may be unsafe
|
||||
to call this function anywhere in the code. Instead, call it somewhere at the top level.}
|
||||
*/
|
||||
CV_EXPORTS void setUseOptimized(bool);
|
||||
CV_EXPORTS void setUseOptimized(bool onoff);
|
||||
|
||||
/*!
|
||||
Returns the current optimization status
|
||||
|
@@ -158,9 +158,12 @@ typedef unsigned short ushort;
|
||||
typedef signed char schar;
|
||||
|
||||
/* special informative macros for wrapper generators */
|
||||
#define CV_OUT
|
||||
#define CV_CARRAY(counter)
|
||||
#define CV_CUSTOM_CARRAY(args)
|
||||
#define CV_METHOD
|
||||
#define CV_NO_WRAP
|
||||
#define CV_OUT
|
||||
#define CV_WRAP_AS(synonym)
|
||||
|
||||
/* CvArr* is used to pass arbitrary
|
||||
* array-like data structures
|
||||
|
Reference in New Issue
Block a user