mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: Move *_loc formatting functions into new format.cpp file
qthelper.cpp is already quite voluminous. Move the recently introduced localized versions of (v)snprintf() and put_format() into their own translation unit. Moreover, adopt C-style semantics for asprintf_loc(). This function will be used to remove fixed-size buffers in core/plannernotes.c. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
36249f2780
commit
5afe1a53d8
8 changed files with 448 additions and 405 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "libdivecomputer/version.h"
|
||||
#include "membuffer.h"
|
||||
#include "qthelper.h"
|
||||
#include "format.h"
|
||||
|
||||
//#define DEBUG_GAS 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue