Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity][TVMScript] Parse R.Object return type from call_pure_packed #16593

Conversation

Lunderberg
Copy link
Contributor

Prior to this commit, R.call_packed and R.call_pure_packed had different normalization for the sinfo_args argument. While R.call_packed checked if the struct info needed to be converted using ObjectGeneric.asobject(), R.call_pure_packed did not.

This commit updates the R.call_pure_packed to handle sinfo_args in the same manner as R.call_packed.

Prior to this commit, `R.call_packed` and `R.call_pure_packed` had
different normalization for the `sinfo_args` argument.  While
`R.call_packed` checked if the struct info needed to be converted using
`ObjectGeneric.asobject()`, `R.call_pure_packed` did not.

This commit updates the `R.call_pure_packed` to handle `sinfo_args`
in the same manner as `R.call_packed`.
@Hzfengsy Hzfengsy merged commit dd70941 into apache:main Feb 19, 2024
19 checks passed
@Lunderberg Lunderberg deleted the tvmscript_handle_object_generic_in_call_pure_packed branch February 20, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants