Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: UDPSocket.cpp
- Revision:
- 17:b1d417383c0d
- Parent:
- 15:94e2cf3a06be
- Child:
- 18:0a988e4abb72
--- a/UDPSocket.cpp Wed Apr 06 13:50:19 2016 +0000
+++ b/UDPSocket.cpp Tue Apr 19 18:20:38 2016 -0500
@@ -68,7 +68,7 @@
}
-void UDPSocket::attach_send(mbed::FuncPtr<void()> callback)
+void UDPSocket::attach_send(FunctionPointer callback)
{
_send_cb = callback;
if (_socket && _send_cb) {
@@ -78,7 +78,7 @@
}
}
-void UDPSocket::attach_recv(mbed::FuncPtr<void()> callback)
+void UDPSocket::attach_recv(FunctionPointer callback)
{
_recv_cb = callback;
if (_socket && _recv_cb) {