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 e2d2f20

Browse filesBrowse files
committed
Bring most commonly used classes to default namespace
1 parent e481f1f commit e2d2f20
Copy full SHA for e2d2f20

File tree

3 files changed

+8
-2
lines changed
Filter options

3 files changed

+8
-2
lines changed

‎api/IPAddress.h

Copy file name to clipboardExpand all lines: api/IPAddress.h
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ class IPAddress : public Printable {
8383

8484
extern const IPAddress INADDR_NONE;
8585
}
86+
87+
using arduino::IPAddress;

‎api/Stream.h

Copy file name to clipboardExpand all lines: api/Stream.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,6 @@ class Stream : public Print
128128

129129
#undef NO_IGNORE_CHAR
130130

131-
}
131+
}
132+
133+
using arduino::Stream;

‎api/Udp.h

Copy file name to clipboardExpand all lines: api/Udp.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,6 @@ class UDP : public Stream {
8787
uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
8888
};
8989

90-
}
90+
}
91+
92+
using arduino::UDP;

0 commit comments

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