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: TCPSocket.cpp
- Revision:
- 17:b1d417383c0d
- Parent:
- 15:94e2cf3a06be
- Child:
- 18: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;