From 5d1860d1bf53785a007a2d65a8e32ac0ce84facf Mon Sep 17 00:00:00 2001 From: wenq1 Date: Fri, 12 Feb 2016 15:01:22 +0800 Subject: [PATCH] - add consts for contour finding --- src/Constants.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Constants.cc b/src/Constants.cc index f2bd76a..f492a2f 100644 --- a/src/Constants.cc +++ b/src/Constants.cc @@ -85,6 +85,11 @@ void Constants::Init(Local target) { CONST_ENUM(NORM_RELATIVE); CONST_ENUM(NORM_TYPE_MASK); + CONST_ENUM(RETR_EXTERNAL); + CONST_ENUM(RETR_LIST); + CONST_ENUM(RETR_CCOMP); + CONST_ENUM(RETR_TREE); + target->Set(Nan::New("Constants").ToLocalChecked(), obj); }