Function.this - multiple declarations

Function Function.this

Instantiate a D function to be called from WASM code.

this (
  Store store,
  wasmer.bindings.wasm_functype_t* type,
  extern(C) wasmer.bindings.wasm_trap_t* function(const(wasmer.bindings.wasm_val_vec_t*), wasmer.bindings.wasm_val_vec_t*) callback
);

this (
  Store store,
  wasmer.bindings.wasm_functype_t* type,
  extern(C) wasmer.bindings.wasm_trap_t* function(void*, const(wasmer.bindings.wasm_val_vec_t*), wasmer.bindings.wasm_val_vec_t*) callback,
  void* env
);

Function Function.this

Instantiate a D delegate to be called from WASM code.

this (
  Store store,
  Module module_,
  wasmer.bindings.wasm_functype_t* type,
  void delegate(Module, Value[], Value[]) callback
);

Function Function.this

Instantiate a D function that satisfies isCallableAsFunction to be called from WASM code.

this(Func) (
  Store store,
  Module module_,
  Func callback
)
if (isCallableAsFunction!Func);