We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a17d398 commit 18b7113Copy full SHA for 18b7113
test/addons/hello-world/binding.cc
@@ -1,7 +1,7 @@
1
#include <node.h>
2
#include <v8.h>
3
4
-void Method(const v8::FunctionCallbackInfo<v8::Value>& args) {
+static void Method(const v8::FunctionCallbackInfo<v8::Value>& args) {
5
v8::Isolate* isolate = args.GetIsolate();
6
args.GetReturnValue().Set(v8::String::NewFromUtf8(
7
isolate, "world", v8::NewStringType::kNormal).ToLocalChecked());
0 commit comments