Browse Source

fix issues for node v0.10x version bump to 0.3.0

v0.3.x
Brett Langdon 12 years ago
parent
commit
43a51fc64b
3 changed files with 5 additions and 4 deletions
  1. +2
    -2
      package.json
  2. +2
    -2
      src/luastate.cc
  3. +1
    -0
      src/utils.h

+ 2
- 2
package.json View File

@ -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
}

+ 2
- 2
src/luastate.cc View File

@ -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<simple_baton*>(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;


+ 1
- 0
src/utils.h View File

@ -1,6 +1,7 @@
#ifndef LUAUTILS_H
#define LUAUTILS_H
#include <string.h>
#include <node.h>
extern "C"{


Loading…
Cancel
Save