I have to write the converter by myself. BindingType::toWireType is not easy, because the emscripten::val cannot be created using a c function. I create a C function wrapper to wrap the std::function ...