Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa7d0ce

Browse filesBrowse files
MarianneDrMylesBorins
authored andcommitted
src: remove unused UVHandle methods
PR-URL: #23535 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent de8ffba commit fa7d0ce
Copy full SHA for fa7d0ce

File tree

Expand file treeCollapse file tree

5 files changed

+0
-20
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+0
-20
lines changed
Open diff view settings
Collapse file

‎src/connection_wrap.h‎

Copy file name to clipboardExpand all lines: src/connection_wrap.h
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ namespace node {
1212
template <typename WrapType, typename UVType>
1313
class ConnectionWrap : public LibuvStreamWrap {
1414
public:
15-
UVType* UVHandle() {
16-
return &handle_;
17-
}
18-
1915
static void OnConnection(uv_stream_t* handle, int status);
2016
static void AfterConnect(uv_connect_t* req, int status);
2117

Collapse file

‎src/tty_wrap.cc‎

Copy file name to clipboardExpand all lines: src/tty_wrap.cc
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ void TTYWrap::Initialize(Local<Object> target,
6464
}
6565

6666

67-
uv_tty_t* TTYWrap::UVHandle() {
68-
return &handle_;
69-
}
70-
71-
7267
void TTYWrap::GuessHandleType(const FunctionCallbackInfo<Value>& args) {
7368
Environment* env = Environment::GetCurrent(args);
7469
int fd;
Collapse file

‎src/tty_wrap.h‎

Copy file name to clipboardExpand all lines: src/tty_wrap.h
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class TTYWrap : public LibuvStreamWrap {
3636
v8::Local<v8::Value> unused,
3737
v8::Local<v8::Context> context);
3838

39-
uv_tty_t* UVHandle();
40-
4139
SET_NO_MEMORY_INFO()
4240
SET_MEMORY_INFO_NAME(TTYWrap)
4341
SET_SELF_SIZE(TTYWrap)
Collapse file

‎src/udp_wrap.cc‎

Copy file name to clipboardExpand all lines: src/udp_wrap.cc
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include "req_wrap-inl.h"
2828
#include "util-inl.h"
2929

30-
31-
3230
namespace node {
3331

3432
using v8::Array;
@@ -512,11 +510,6 @@ Local<Object> UDPWrap::Instantiate(Environment* env,
512510
}
513511

514512

515-
uv_udp_t* UDPWrap::UVHandle() {
516-
return &handle_;
517-
}
518-
519-
520513
} // namespace node
521514

522515
NODE_BUILTIN_MODULE_CONTEXT_AWARE(udp_wrap, node::UDPWrap::Initialize)
Collapse file

‎src/udp_wrap.h‎

Copy file name to clipboardExpand all lines: src/udp_wrap.h
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ class UDPWrap: public HandleWrap {
6262
static v8::Local<v8::Object> Instantiate(Environment* env,
6363
AsyncWrap* parent,
6464
SocketType type);
65-
uv_udp_t* UVHandle();
66-
6765
SET_NO_MEMORY_INFO()
6866
SET_MEMORY_INFO_NAME(UDPWrap)
6967
SET_SELF_SIZE(UDPWrap)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.