| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a17d398 commit 18b7113
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | #include <node.h> | |
| 2 | 2 | #include <v8.h> | |
| 3 | 3 | ||
| 4 | - void Method(const v8::FunctionCallbackInfo<v8::Value>& args) { | ||
| 4 | + static void Method(const v8::FunctionCallbackInfo<v8::Value>& args) { | ||
| 5 | 5 | v8::Isolate* isolate = args.GetIsolate(); | |
| 6 | 6 | args.GetReturnValue().Set(v8::String::NewFromUtf8( | |
| 7 | 7 | isolate, "world", v8::NewStringType::kNormal).ToLocalChecked()); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments