mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-27 10:00:59 +00:00
fix: update generate_checked_function to include static inline in function declaration
This commit is contained in:
parent
90bfd394da
commit
4e0b85eccf
|
|
@ -18,7 +18,7 @@ def generate_checked_function(func):
|
|||
return_type = " ".join(func.type.type.type.names)
|
||||
|
||||
# Start building the new function
|
||||
new_func = [f"Result {new_func_name}("]
|
||||
new_func = [f"static inline Result {new_func_name}("]
|
||||
param_list = []
|
||||
for param in params:
|
||||
if isinstance(param, c_ast.EllipsisParam):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user