Skip to content

Commit

Permalink
Normalize style (#59)
Browse files Browse the repository at this point in the history
* Normalize style and naming conventions

* Clean up error messages

* Clean up config naming

* Add allocation variable names to logs
  • Loading branch information
jgowdy authored Oct 4, 2023
1 parent 3ae991d commit 3261ddb
Show file tree
Hide file tree
Showing 2 changed files with 337 additions and 289 deletions.
7 changes: 4 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
{
'target_name': 'asherah',
'include_dirs': ["<!(node -p \"require('node-addon-api').include_dir\")"],
"cflags": ["-fexceptions", "-g"],
"cflags_cc": ["-fexceptions", "-g"],
"cflags": ["-fexceptions", "-g", "-O3"],
"cflags_cc": ["-fexceptions", "-g", "-O3"],
"cflags!": [ "-fno-exceptions"],
"cflags_cc!": [ "-fno-exceptions" ],
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'OTHER_CFLAGS': [
'-fexceptions',
'-g'
'-g',
'-O3'
],
},
'defines': [ 'NAPI_CPP_EXCEPTIONS', 'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' ],
Expand Down
Loading

0 comments on commit 3261ddb

Please sign in to comment.