Typo fix
This commit is contained in:
parent
c15b5a457b
commit
e99d76e670
|
@ -3,6 +3,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "./pow.h"
|
#include "./pow.h"
|
||||||
|
|
||||||
|
#define MAX_SAFE_JS_INTEGER 9007199254740991
|
||||||
|
|
||||||
using node::Buffer;
|
using node::Buffer;
|
||||||
using v8::Handle;
|
using v8::Handle;
|
||||||
using v8::Local;
|
using v8::Local;
|
||||||
|
@ -13,8 +15,6 @@ using v8::Object;
|
||||||
using v8::String;
|
using v8::String;
|
||||||
using v8::Integer;
|
using v8::Integer;
|
||||||
|
|
||||||
#define MAX_SAFE_JS_INTEGER 9007199254740991
|
|
||||||
|
|
||||||
class PowWorker : public NanAsyncWorker {
|
class PowWorker : public NanAsyncWorker {
|
||||||
public:
|
public:
|
||||||
PowWorker(NanCallback* callback,
|
PowWorker(NanCallback* callback,
|
||||||
|
@ -81,8 +81,6 @@ NAN_METHOD(PowAsync) {
|
||||||
NanReturnUndefined();
|
NanReturnUndefined();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expose synchronous and asynchronous access to our
|
|
||||||
// Estimate() function
|
|
||||||
void InitAll(Handle<Object> exports) {
|
void InitAll(Handle<Object> exports) {
|
||||||
exports->Set(
|
exports->Set(
|
||||||
NanNew<String>("powAsync"),
|
NanNew<String>("powAsync"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user