mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: port printGPSCoordsC to return std::string
Less memory management hassle. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
119fe908c7
commit
2f3d8d83f5
4 changed files with 7 additions and 9 deletions
|
|
@ -93,6 +93,7 @@ QLocale getLocale();
|
|||
QVector<QPair<QString, int>> selectedDivesGasUsed();
|
||||
QString getUserAgent();
|
||||
QString printGPSCoords(const location_t *loc);
|
||||
std::string printGPSCoordsC(const location_t *loc);
|
||||
std::vector<int> get_cylinder_map_for_remove(int count, int n);
|
||||
std::vector<int> get_cylinder_map_for_add(int count, int n);
|
||||
|
||||
|
|
@ -118,7 +119,6 @@ extern "C" {
|
|||
|
||||
struct git_info;
|
||||
|
||||
char *printGPSCoordsC(const location_t *loc);
|
||||
bool getProxyString(char **buffer);
|
||||
bool canReachCloudServer(struct git_info *);
|
||||
void updateWindowTitle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue