Unwrap the FROM_UTF8 macro in favor of direct function

The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
This commit is contained in:
Marek Roszko
2023-09-09 00:10:57 -04:00
parent bd3aca2887
commit 11de95778b
90 changed files with 266 additions and 248 deletions
+2 -2
View File
@@ -21,7 +21,7 @@
#include <markup_parser.h>
#include <sstream>
#include "macros.h"
#include <string_utils.h>
using namespace MARKUP;
@@ -65,7 +65,7 @@ std::string NODE::typeString() const
wxString NODE::asWxString() const
{
return FROM_UTF8( string().c_str() );
return From_UTF8( string().c_str() );
}