diff options
Diffstat (limited to 'compiler/c2nim/tests/systest.c')
-rwxr-xr-x | compiler/c2nim/tests/systest.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compiler/c2nim/tests/systest.c b/compiler/c2nim/tests/systest.c index 2a9dd6c28..b73eb5bee 100755 --- a/compiler/c2nim/tests/systest.c +++ b/compiler/c2nim/tests/systest.c @@ -9,6 +9,20 @@ extern "C" { # endif #endif +enum +{ +/* 8bit, color or not */ + CV_LOAD_IMAGE_UNCHANGED =-1, +/* 8bit, gray */ + CV_LOAD_IMAGE_GRAYSCALE =0, +/* ?, color */ + CV_LOAD_IMAGE_COLOR =1, +/* any depth, ? */ + CV_LOAD_IMAGE_ANYDEPTH =2, +/* ?, any color */ + CV_LOAD_IMAGE_ANYCOLOR =4 +}; + typedef void (*callback_t) (int rc); typedef const char* (*callback2)(int rc, long L, const char* buffer); |