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

Always return the same type from regs_read #1736

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

learn-more
Copy link
Contributor

When there are regs returned they are in a list, so the function returns a tuple of 2 lists.
When there are no regs, a tuple is returned instead, so it will be a tuple of tuples (or a tuple of one tuple + one list).

@aquynh aquynh merged commit 1703efd into capstone-engine:next Mar 19, 2021
@aquynh
Copy link
Collaborator

aquynh commented Mar 19, 2021

merged, thanks!

@learn-more learn-more deleted the regs_read branch March 19, 2021 23:32
@riptl riptl mentioned this pull request Jul 22, 2022
6 tasks
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.

2 participants