fix header

This commit is contained in:
Luis Blanco 2018-01-22 17:55:46 +03:00
parent b33382c69c
commit d56d397498
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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",