Skip to content

Commit

Permalink
Merge pull request #436 from pjump/master
Browse files Browse the repository at this point in the history
Fix module registration
  • Loading branch information
3rd-Eden committed Jan 18, 2015
2 parents 571886d + c2d7cf4 commit f41689d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bufferutil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class BufferUtil : public ObjectWrap
}
};

extern "C" void init (Handle<Object> target)
void init (Handle<Object> target)
{
NanScope();
BufferUtil::Initialize(target);
Expand Down
2 changes: 1 addition & 1 deletion src/validation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Validation : public ObjectWrap
}
};

extern "C" void init (Handle<Object> target)
void init (Handle<Object> target)
{
NanScope();
Validation::Initialize(target);
Expand Down

0 comments on commit f41689d

Please sign in to comment.