Skip to content

Commit

Permalink
FIXES bytecodealliance#137: make calling wasm from python 7x faster
Browse files Browse the repository at this point in the history
  • Loading branch information
muayyad-alsadi committed Mar 25, 2023
1 parent d0dcca2 commit 52a0f1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wasmtime/_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@

class Func:
_func: ffi.wasmtime_func_t
_params_n: int
_results_n: int
_params_str: list[str]
_results_str: list[str]
_vals_raw_type: ctypes.Array[wasmtime_val_raw_t]

def __init__(self, store: Storelike, ty: FuncType, func: Callable, access_caller: bool = False):
"""
Expand Down

0 comments on commit 52a0f1d

Please sign in to comment.