This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
node
mirror of
https://github.com/lukechilds/node.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
13196
Commits
131
Branches
446
Tags
325 MiB
Tree:
3bfe0483f0
node
/
test
/
addons
/
hello-world-function-export
/
binding.gyp
9 lines
101 B
Raw
Normal View
History
addon: Pass module object to NODE_MODULE init function mainly to allow native addons to export single functions on rather than being restricted to operating on an existing object. Init functions now receive exports as the first argument, like before, but also the module object as the second argument, if they support it. Related to #4634 cc: @rvagg
12 years ago
{
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
}
]
}