kawamuray / wasmtime-java

Java or JVM-language binding for Wasmtime
Apache License 2.0
127 stars 29 forks source link

Implement the getFuncType method of Func #55

Open taptao opened 9 months ago

taptao commented 9 months ago

Can you help me implement the type method of Func to obtain the FuncType object?

Like the c++ example below

  /// Returns the type of this function.
  FuncType type(Store::Context cx) const {
    return wasmtime_func_type(cx.ptr, &func);
  }