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.
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: TCPSocket.cpp
- Revision:
- 89:b1d417383c0d
- Parent:
- 87:94e2cf3a06be
- Child:
- 90:0a988e4abb72
diff -r 6cfd38609828 -r b1d417383c0d TCPSocket.cpp
--- a/TCPSocket.cpp Wed Apr 06 13:50:19 2016 +0000
+++ b/TCPSocket.cpp Tue Apr 19 18:20:38 2016 -0500
@@ -83,7 +83,7 @@
}
-void TCPSocket::attach_send(mbed::FuncPtr<void()> callback)
+void TCPSocket::attach_send(FunctionPointer callback)
{
_send_cb = callback;
@@ -94,7 +94,7 @@
}
}
-void TCPSocket::attach_recv(mbed::FuncPtr<void()> callback)
+void TCPSocket::attach_recv(FunctionPointer callback)
{
_recv_cb = callback;
