Skip to content

Commit

Permalink
Remove unnecessary conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Jul 9, 2023
1 parent 5373f06 commit b506b10
Showing 6 changed files with 260 additions and 261 deletions.
1 change: 0 additions & 1 deletion generate.cr
Original file line number Diff line number Diff line change
@@ -1108,7 +1108,6 @@ class CFunction < CItem
else
cr_type += "*"*param.type.pointer
end
cpp_arg = "(#{param.type.full_name.sub('&', '*')})#{cpp_arg}"
if return_params.includes? param
cpp_arg = "*#{cpp_arg}"
end
60 changes: 30 additions & 30 deletions src/audio/ext.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b506b10

Please sign in to comment.