core: improve cleanup logic

This commit is contained in:
vaxerski
2024-01-19 16:20:22 +01:00
parent 9f20a15955
commit 5eeec8860e
8 changed files with 95 additions and 23 deletions

View File

@@ -15,6 +15,7 @@ struct SCallstackFrameInfo {
std::string absolutePath(const std::string&, const std::string&);
void addWLSignal(wl_signal*, wl_listener*, void* pOwner, const std::string& ownerString);
void removeWLSignal(wl_listener*);
std::string escapeJSONStrings(const std::string& str);
std::string removeBeginEndSpacesTabs(std::string);
bool isNumber(const std::string&, bool allowfloat = false);