Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Very descriptive title. Basically I am trying to make pointer types for (almost) every type in FLINT such that #1079 can be solved.
I also aim to make the types in FLINT more coherent. Not only within the repository, but also with GMP. For examples within FLINT, we have
n_factor_t
which at the moment is not a one-element array, but a struct. Very confusing. Also, the types inapcrl
is named different compared to all the other parts in FLINT.I do not aim to simply change everything. I still think that the documentation should try to involve types such as
fmpz_t
instead offmpz_ptr
for the sake of not involving too many types in the documentation, but the actual declarations should have the pointer versions in order to not get warnings from GCC about overreadings; At least when things are on the formconst mystruct[1]
, but the other variants should change as well for the sake of coherency.I know this has not really been discussed yet, but I think it is the way to go.
For specific namings schemes, please see the commit messages.