sgml: sgml2wstr→sgml2str, wstr2sgml→str2sgml 🧨

This is analogous to string.hpp's strlen, strcpy, strcat, which use C++
polymorphism rather than function name decorations for char/wchar_t
flavors.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman
2023-11-17 15:12:53 +01:00
parent 06da717405
commit 424f297c7b
4 changed files with 49 additions and 112 deletions

View File

@@ -26,8 +26,8 @@ int main(int argc, const char * argv[])
UnitTests::parser::sgml_test();
UnitTests::parser::http_test();
UnitTests::ring::test();
UnitTests::sgml::sgml2wstr();
UnitTests::sgml::wstr2sgml();
UnitTests::sgml::sgml2str();
UnitTests::sgml::str2sgml();
UnitTests::stream::async();
UnitTests::stream::replicator();
UnitTests::stream::open_close();