Isolate a few more string leakage cases.

This commit is contained in:
2025-09-27 18:18:36 -04:00
parent c8cfc0f038
commit 8356c017e1
4 changed files with 34 additions and 9 deletions

View File

@ -190,8 +190,11 @@ void dLib_show_messages(bool show);
/*
*- Misc utility functions ----------------------------------------------------
*/
char *dGetcwd(void);
char *dGethomedir(void);
CharPtrNoStringConversion dGetcwd();
std::optional< std::string > dGetcwd_string();
CharPtrNoStringConversion dGethomedir();
std::optional< std::string > dGethomedir_string();
std::optional< std::string > dGetline_string(FILE *stream);
char *dGetline_unsafe(FILE *stream);
std::optional< std::string > dGetline(FILE *stream);