Skip to content

Commit

Permalink
add NODE_MDOULE macro invocation
Browse files Browse the repository at this point in the history
This is the proper way node c++ modules should initialize themselves.
  • Loading branch information
defunctzombie committed Jan 5, 2013
1 parent b6b224e commit 3053925
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libxmljs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,6 @@ init(v8::Handle<v8::Object> target)
target->Set(v8::String::NewSymbol("libxml"), target);
}

NODE_MODULE(xmljs, init)

} // namespace libxmljs

0 comments on commit 3053925

Please sign in to comment.