mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Merge pull request #613 from kubark42/patch-1
[OpenCV.h]: allow double arguments
This commit is contained in:
commit
73007ee3f4
@ -77,7 +77,7 @@ using namespace node;
|
||||
}
|
||||
|
||||
#define DOUBLE_FROM_ARGS(NAME, IND) \
|
||||
if (info[IND]->IsInt32()){ \
|
||||
if (info[IND]->IsNumber()){ \
|
||||
NAME = info[IND]->NumberValue(); \
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user