Skip to content

Make some pointers in the parameters constant#546

Merged
mschoema merged 4 commits intoMobilityDB:masterfrom
Davichet-e:master
Aug 2, 2024
Merged

Make some pointers in the parameters constant#546
mschoema merged 4 commits intoMobilityDB:masterfrom
Davichet-e:master

Conversation

@Davichet-e
Copy link
Copy Markdown
Member

@Davichet-e Davichet-e commented Jul 31, 2024

Make some pointers in the parameters constant

Fixes #545.

Testing

I built MEOS and it completed succesfully

Unknowns

  • Will this break any wrapper?
    • Is there any Regex used in PyMEOS (confirmed with author) or JMEOS that would make this change a breaking change?

@Diviloper
Copy link
Copy Markdown
Member

Regarding PyMEOS, this shouldn't affect the wrapper at all, so no worries in that regard.

@Davichet-e
Copy link
Copy Markdown
Member Author

Davichet-e commented Aug 1, 2024

I just realised I didn't change the declarations in the meos.h file and some more changes are needed, working on it. Will also add more consts

@Davichet-e Davichet-e marked this pull request as draft August 1, 2024 08:58
@Davichet-e Davichet-e marked this pull request as ready for review August 1, 2024 09:35
@Davichet-e Davichet-e requested a review from mschoema August 1, 2024 12:39
@Davichet-e
Copy link
Copy Markdown
Member Author

Forgot to check the examples, will do now

@Davichet-e
Copy link
Copy Markdown
Member Author

Checked the examples, no warning were generated when compiling them

@Davichet-e
Copy link
Copy Markdown
Member Author

Sorry for the messy commit message, I forgot if you put a string between ``, it executes the command with that name. It shouldn't matter since I guess we will rebase and will just squash all of the commits into one.

@mschoema mschoema merged commit d84a27d into MobilityDB:master Aug 2, 2024
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.

Make non-mutated pointers const

3 participants