mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fix build warnings
This commit is contained in:
parent
8f8181b539
commit
7532b9e332
@ -433,24 +433,6 @@ Matrix::Ptr(const v8::Arguments& args) {
|
|||||||
// return Undefined();
|
// return Undefined();
|
||||||
}
|
}
|
||||||
|
|
||||||
Handle<Value>
|
|
||||||
Matrix::Bla(const v8::Arguments& args) {
|
|
||||||
HandleScope scope;
|
|
||||||
int i = args[1]->Uint32Value();
|
|
||||||
|
|
||||||
int div = 64;
|
|
||||||
|
|
||||||
if (Buffer::HasInstance(args[0])){
|
|
||||||
|
|
||||||
char *buf = (char *) Buffer::Data(args[0]->ToObject());
|
|
||||||
unsigned len = Buffer::Length(args[0]->ToObject());
|
|
||||||
|
|
||||||
}
|
|
||||||
return Undefined();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Handle<Value>
|
Handle<Value>
|
||||||
Matrix::AddWeighted(const v8::Arguments& args) {
|
Matrix::AddWeighted(const v8::Arguments& args) {
|
||||||
HandleScope scope;
|
HandleScope scope;
|
||||||
@ -475,7 +457,7 @@ Handle<Value>
|
|||||||
Matrix::Split(const v8::Arguments& args) {
|
Matrix::Split(const v8::Arguments& args) {
|
||||||
HandleScope scope;
|
HandleScope scope;
|
||||||
|
|
||||||
Matrix *self = ObjectWrap::Unwrap<Matrix>(args.This());
|
//Matrix *self = ObjectWrap::Unwrap<Matrix>(args.This());
|
||||||
|
|
||||||
return scope.Close(v8::Null());
|
return scope.Close(v8::Null());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user