[Swift] How to convert from void* to char*
How to convert from void* to char* I had to use f**king idiot library which is written by C++ in Swift project. That library use void* for call back function to return.(There are so many call back event, but that library use only one function pointer (returning void*) like above.) 12typedef void (* ANY_CB)(void *);void registerListener(ANY_CB *cbs, ANY_CB cb, ANY_EVENT event);cs And I faced to p..
Programming/iOS 2017. 9. 5. 15:48