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

C types reorganization and cleanup #2103

Merged
merged 26 commits into from Aug 28, 2021

Conversation

cvvergara
Copy link
Member

This is a follow up from #1893

  • Cleaned some C types that are duplicated
  • New general types: IID_t_rt II_t_rt I_rt`
    • I = Int64_t
    • D = double
  • Simplified names by removing pgr_
    • everything is pgrouting the prefix pgr_ historically comes from v1.x

@pgRouting/admins

@cvvergara cvvergara added this to the Release 3.3.0 milestone Aug 28, 2021
@cvvergara cvvergara self-assigned this Aug 28, 2021
Copy link
Member

@krashish8 krashish8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Btw, is creating types like IID_t_rt a good idea? Although this generalizes the types, but simultaneously, it decreases the readability to someone who is not aware of what I and D denote.
Anyway, if we want to generalize, then that's a good way to do so, so it's okay.

@cvvergara cvvergara merged commit 95106da into pgRouting:develop Aug 28, 2021
@cvvergara
Copy link
Member Author

Yeah, needs documentation.

@cvvergara cvvergara deleted the renaming-c_types-try2 branch August 28, 2021 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants