1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-16 07:07:13 +02:00

Add UTF8 library.

This commit is contained in:
Sandu Liviu Catalin
2021-09-19 14:23:47 +03:00
parent cae745378d
commit 4a8a7172d4
9 changed files with 1738 additions and 1 deletions

19
module/Library/UTF8.cpp Normal file
View File

@ -0,0 +1,19 @@
// ------------------------------------------------------------------------------------------------
#include "Library/UTF8.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
// ------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------
// ================================================================================================
void Register_UTF8(HSQUIRRELVM vm)
{
Table ns(vm);
RootTable(vm).Bind(_SC("SqUTF8"), ns);
}
} // Namespace:: SqMod

14
module/Library/UTF8.hpp Normal file
View File

@ -0,0 +1,14 @@
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Core/Utility.hpp"
// ------------------------------------------------------------------------------------------------
#include <utf8.h>
// ------------------------------------------------------------------------------------------------
namespace SqMod {
} // Namespace:: SqMod