Skip to content

Commit 818481b

Browse files
committed
fix: update generate_checked_function to include static inline in function declaration
1 parent 003cb7d commit 818481b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci/generate_checked_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def generate_checked_function(func):
1818
return_type = " ".join(func.type.type.type.names)
1919

2020
# Start building the new function
21-
new_func = [f"Result {new_func_name}("]
21+
new_func = [f"static inline Result {new_func_name}("]
2222
param_list = []
2323
for param in params:
2424
if isinstance(param, c_ast.EllipsisParam):

0 commit comments

Comments
 (0)