We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22d98a commit 4b259e9Copy full SHA for 4b259e9
src/addon.cpp
@@ -2,6 +2,7 @@
2
#include <string>
3
#include <node.h>
4
#include <node_object_wrap.h>
5
+template <class T> using CopyablePersistent = v8::Persistent<T, v8::CopyablePersistentTraits<T>>;
6
7
struct Addon {
8
CopyablePersistent<v8::Function> constructor;
src/macros.cpp
@@ -101,7 +101,3 @@ void SetPrototypeGetter(
101
v8::AccessorSignature::New(isolate, recv)
102
);
103
}
104
-
105
-#hdr
106
-template <class T> using CopyablePersistent = v8::Persistent<T, v8::CopyablePersistentTraits<T>>;
107
-#end
0 commit comments