Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-09 | Cleanup: Slightly shorten code in vqasprintf_loc() | Berthold Stoeger | |
Move duplicate code, which reads '*' arguments from va_list into parse_fmt_int() function. To pass pointers-to-va_list, the va_list has to be copied first. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | |||
2018-04-09 | Cleanup: Move *_loc formatting functions into new format.cpp file | Berthold Stoeger | |
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> |