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

jeeps function pointers, GPS_PPacket const correctness, GPS_Serial_[OSP]Packet -> GPS_Serial_Packet #1215

Merged
merged 8 commits into from
Nov 13, 2023

Conversation

tsteven4
Copy link
Collaborator

use using for jeeps function pointers.

const correctness for GPS_PPacket use. The important bit here is in gpssend.cc, Build_Serial_Packet used to receive a 1KB packet by copy, now it is by const reference.

original jeeps used GPS_SXXX, GPS_OSXXX, GPS_PXXX for the structure
tag, a typedef of the structure, and a pointer to a typedef of the
structure. In the case of GPS_PPacket this convention was no longer
followed. rename GPS_PPacket -> GPS_Packet.

GPS_Serial_[SOP]Packet -> GPS_Serial_Packet, GPS_Serial_Packet*.

The important bit here is in gpssend.cc, Build_Serial_Packet used to rececive a 1KB packet by copy, now it is by const reference.
original jeeps used GPS_SXXX, GPS_OSXXX, GPS_PXXX for the structure
tag, a typedef of the structure, and a pointer to a typedef of the
structure.  In the case of GPS_PPacket this convention was no longer
followed.
clion on linux missed some windows only renames.
@robertlipe
Copy link
Collaborator

robertlipe commented Nov 13, 2023 via email

@tsteven4 tsteven4 merged commit f1bcf0d into GPSBabel:master Nov 13, 2023
19 checks passed
@tsteven4 tsteven4 deleted the tidy2 branch November 13, 2023 23:33
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.

2 participants