diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-14 09:59:38 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-19 10:52:42 -0500 |
| commit | e969875d6f24845d1ea12a1e71eed1e1118cb792 (patch) | |
| tree | a414a36a03a4f8a3cbe2f349207a4acacde46d3e /python/types.py | |
| parent | 4d1506ca85f713b768a370e732be6d22b8d84189 (diff) | |
Fix FunctionBuilder.create
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py index b88b2022..5c2b448e 100644 --- a/python/types.py +++ b/python/types.py @@ -855,7 +855,7 @@ class FunctionBuilder(TypeBuilder): @classmethod def create(cls, return_type:SomeType, calling_convention:Optional['callingconvention.CallingConvention']=None, params:ParamsType=[], var_args:BoolWithConfidenceType=False, - stack_adjust:SizeWithConfidenceType=0, platform:'_platform.Platform'=None, + stack_adjust:OffsetWithConfidenceType=0, platform:'_platform.Platform'=None, confidence:int=core.max_confidence) -> 'FunctionBuilder': param_buf = FunctionBuilder._to_core_struct(params) ret_conf = return_type._to_core_struct() |
