wrapMethod causes issues with callbacks
jac3km4 opened this issue · comments
jekky commented
@wrapMethod
creates one method for every wrapper, but it looks like the game invokes everycb
method on a class, so all of the wrappers get invokedcb
methods should take exactly one argument and it's type should extendEvent
, this could be enforced by the compiler
Pavel Siberx commented
cb
methods can have different signatures, Event
based callback is just one variation that can cause issues with wrappers