1 | initial version |
I just tested it and it works fine this way: Header:
#include <opencv2/core/core.hpp>
#define CV_test( Code, Msg ) CV_Error(Code, Msg)
Somewhere in my cpp:
CV_test( CV_StsOutOfRange, "test outofrange" );
2 | No.2 Revision |
I just tested it and it works fine this way:
way:
Header:
#include <opencv2/core/core.hpp>
#define CV_test( Code, Msg ) CV_Error(Code, Msg)
Somewhere in my cpp:
CV_test( CV_StsOutOfRange, "test outofrange" );