Skip to content

Commit

Permalink
Be extra pedantic about C++ code
Browse files Browse the repository at this point in the history
  • Loading branch information
ranisalt committed Jan 30, 2016
1 parent d8c8a22 commit 9774db7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"argon2/include"
],
"dependencies": ["libargon2"],
"conditions": [
["OS != 'win'", {"cflags": ["-Wall", "-Wextra", "-Wpedantic"]}]
],
"configurations": {
"Debug": {
"conditions": [
Expand Down
4 changes: 2 additions & 2 deletions src/argon2_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,6 @@ NAN_MODULE_INIT(init) {
Nan::Export(target, "hashSync", HashSync);
Nan::Export(target, "verify", Verify);
Nan::Export(target, "verifySync", VerifySync);
};
}

NODE_MODULE(argon2_lib, init);
NODE_MODULE(argon2_lib, init)

0 comments on commit 9774db7

Please sign in to comment.