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

Enhancement: Move global constants and typedefs to consts.hpp #80

Open
phuang1024 opened this issue Apr 23, 2021 · 0 comments · May be fixed by #84
Open

Enhancement: Move global constants and typedefs to consts.hpp #80

phuang1024 opened this issue Apr 23, 2021 · 0 comments · May be fixed by #84
Labels
enhancement New feature or request

Comments

@phuang1024
Copy link
Member

Is your feature request related to a problem? Please describe.

Right now, if a file needs to use a typedef like U64, it needs to include bitboard.hpp, even though it will not use any functions relating to bitboards.

Describe the solution you'd like

A file consts.hpp which contains all global typedefs and constants.
It can also contain DEBUG, which is currently in debug.hpp.

@phuang1024 phuang1024 added the enhancement New feature or request label Apr 23, 2021
@ArjunSahlot ArjunSahlot linked a pull request Apr 26, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant