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

Use assertion macros for verifying table and lists sizes #320

Closed
Rangi42 opened this issue Apr 27, 2021 · 1 comment
Closed

Use assertion macros for verifying table and lists sizes #320

Rangi42 opened this issue Apr 27, 2021 · 1 comment

Comments

@Rangi42
Copy link
Member

Rangi42 commented Apr 27, 2021

Gen 2 has table_width/assert_table_length (pret/pokecrystal#806) and list_start/assert_list_length (pret/pokecrystal#816) for keeping data in sync with constants. It also uses non-macro assertions for other such checks.

@Rangi42
Copy link
Member Author

Rangi42 commented Apr 27, 2021

Duplicate of #312. :P (It hasn't been done for RAM tables, but #320 will take care of those.)

@Rangi42 Rangi42 closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant