Skip to content

Commit

Permalink
Update generator
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Oct 20, 2024
1 parent 14d1586 commit 51005f7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def gen_param(param):
if 'CreateVector' in type:
return f'var __{name} = {type}({name}, {name}.Length)'
elif type != '':
if 'GetDelegate' in type and not is_need_marshal(param['prototype']):
if 'GetFunctionPointerForDelegate' in type and not is_need_marshal(param['prototype']):
return ''
else:
return f'var __{name} = {type}({name})'
Expand Down
Loading

0 comments on commit 51005f7

Please sign in to comment.