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: Socket.cpp
- Revision:
- 12:d317e056fd20
- Parent:
- 7:43a7e8c0d6cc
- Child:
- 14:7ca9776b9cc0
--- a/Socket.cpp Tue Apr 05 19:05:37 2016 +0000
+++ b/Socket.cpp Tue Apr 05 19:21:41 2016 +0000
@@ -73,3 +73,8 @@
return err;
}
+void Socket::thunk(void *p)
+{
+ mbed::FuncPtr<void()> *fptr = (mbed::FuncPtr<void()> *)p;
+ (*fptr)();
+}