mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
This commit renames async-wrap to async_wrap for consitency with other c++ source files. Backport-PR-URL: https://github.com/nodejs/node/pull/18179 PR-URL: https://github.com/nodejs/node/pull/17022 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
28 lines
605 B
C++
28 lines
605 B
C++
#ifndef SRC_CONNECT_WRAP_H_
|
|
#define SRC_CONNECT_WRAP_H_
|
|
|
|
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
|
|
|
#include "env.h"
|
|
#include "req-wrap.h"
|
|
#include "async_wrap.h"
|
|
#include "v8.h"
|
|
|
|
namespace node {
|
|
|
|
class ConnectWrap : public ReqWrap<uv_connect_t> {
|
|
public:
|
|
ConnectWrap(Environment* env,
|
|
v8::Local<v8::Object> req_wrap_obj,
|
|
AsyncWrap::ProviderType provider);
|
|
~ConnectWrap();
|
|
|
|
size_t self_size() const override { return sizeof(*this); }
|
|
};
|
|
|
|
} // namespace node
|
|
|
|
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
|
|
|
#endif // SRC_CONNECT_WRAP_H_
|