fix header
This commit is contained in:
parent
b33382c69c
commit
d56d397498
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
#define REQ_ARRV_ARG(I, VAR) \
|
#define REQ_ARRV_ARG(I, VAR) \
|
||||||
REQ_OBJ_ARG(I, _obj_##VAR); \
|
REQ_OBJ_ARG(I, _obj_##VAR); \
|
||||||
if( ! _obj_##VAR->Isv8::ArrayBufferView() ) \
|
if( ! _obj_##VAR->IsArrayBufferView() ) \
|
||||||
return Nan::ThrowTypeError("Argument " #I " must be an array buffer");\
|
return Nan::ThrowTypeError("Argument " #I " must be an array buffer");\
|
||||||
v8::Local<v8::ArrayBufferView> VAR = v8::Local<v8::ArrayBufferView>::Cast(_obj_##VAR);
|
v8::Local<v8::ArrayBufferView> VAR = v8::Local<v8::ArrayBufferView>::Cast(_obj_##VAR);
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "node-addon-tools-raub",
|
"name": "node-addon-tools-raub",
|
||||||
"author": "Luis Blanco <raubtierxxx@gmail.com>",
|
"author": "Luis Blanco <raubtierxxx@gmail.com>",
|
||||||
"description": "A set of extra tools for Node.js addons.",
|
"description": "A set of extra tools for Node.js addons.",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"node",
|
"node",
|
||||||
|
|
Loading…
Reference in New Issue