binance-exchange / binacpp

Binance C++ library
MIT License
209 stars 108 forks source link

Call a function by event_cb #22

Open Maexel opened 6 years ago

Maexel commented 6 years ago

Hello,

i have to modify the source to call a member variable (a pointer of an external class which i addet as additional parameter to the constructor of the websocket class) from the static event_cb function. Is there any way to make the event_cb non static in the class?