diff --git a/package.json b/package.json index af77b37..b1325c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodelua", - "version": "0.2.3", + "version": "0.3.0", "description": "Lua Bindings For Node.JS", "keywords": [ "lua" @@ -19,7 +19,7 @@ "license": "MIT", "gypfile": true, "engines": { - "node": ">=0.8.0 <0.10.0" + "node": ">=0.10.0" }, "engineStrict": true } diff --git a/src/luastate.cc b/src/luastate.cc index 2315ae2..e3f5d42 100644 --- a/src/luastate.cc +++ b/src/luastate.cc @@ -48,7 +48,7 @@ void do_status(uv_work_t *req){ } -void simple_after(uv_work_t *req){ +void simple_after(uv_work_t *req, int status){ HandleScope scope; simple_baton* baton = static_cast(req->data); @@ -81,7 +81,7 @@ void do_string(uv_work_t *req){ } -void async_after(uv_work_t *req){ +void async_after(uv_work_t *req, int status){ HandleScope scope; async_baton* baton = (async_baton *)req->data; diff --git a/src/utils.h b/src/utils.h index 49f8218..5052554 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,6 +1,7 @@ #ifndef LUAUTILS_H #define LUAUTILS_H +#include #include extern "C"{