addFunction method
Adds f to the module function table; the returned index is a C function
pointer. signature uses Emscripten sig letters (v=void, i=i32,
j=i64/BigInt, d=f64), return type first.
Implementation
int addFunction(JSFunction f, String signature) => module.addFunction(f, signature);