Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/node_object_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@

namespace node {

class ObjectWrap {
// Legacy interface for tying C++ objects to JavaScript objects.
// This is not intended to be used by new code, and userland alternatives
// should be preferred.
class NODE_DEPRECATED(
"Use userland alternatives such as node-addon-api or nan instead",
ObjectWrap) {
public:
ObjectWrap() {
refs_ = 0;
Expand Down
Loading