FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-addon-example/binding.cpp at master · springmeyer/node-addon-example · GitHub
springmeyer
/
node-addon-example
Public
Notifications
You must be signed in to change notification settings
Fork
18
Star
64
Code
Issues
1
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node-addon-example
/
binding.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 281 Bytes
Breadcrumbs
node-addon-example
/
binding.cpp
Copy path
File metadata and controls
14 lines (10 loc) · 281 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
#
include
<
nan.h
>
NAN_METHOD
(get_hello) {
info.
GetReturnValue
().
Set
(
Nan::New
(
"
hello
"
).
ToLocalChecked
());
}
extern
"
C
"
{
static
void
start
(v8::Handle<v8::Object> target) {
Nan::SetMethod
(target,
"
hello
"
, get_hello);
}
}
NODE_MODULE
(node_addon_example, start)
Back
|
FazBrowse Home
|
New Git URL