yglukhov / jsbind

MIT License
54 stars 12 forks source link

Latest emscripten #8

Closed rrenderr closed 5 years ago

yglukhov commented 5 years ago

Could you please add backward compat glue like:

proc emscripten_set_mousedown_callback*(target: cstring, userData: pointer, useCapture: EM_BOOL, callback: em_mouse_callback_func): EMSCRIPTEN_RESULT {.inline.} =
  emscripten_set_mousedown_callback_on_thread(target, userData, pointer, useCapture, callback)
yglukhov commented 5 years ago

Thank you!