mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
small CNStructs.hpp refactor
This commit is contained in:
parent
7cf239e3af
commit
93d973bf21
@ -22,16 +22,12 @@
|
|||||||
// TODO: rewrite U16toU8 & U8toU16 to not use codecvt
|
// TODO: rewrite U16toU8 & U8toU16 to not use codecvt
|
||||||
|
|
||||||
std::string U16toU8(char16_t* src);
|
std::string U16toU8(char16_t* src);
|
||||||
|
int U8toU16(std::string src, char16_t* des); // returns number of char16_t that was written at des
|
||||||
// returns number of char16_t that was written at des
|
|
||||||
int U8toU16(std::string src, char16_t* des);
|
|
||||||
|
|
||||||
uint64_t getTime();
|
uint64_t getTime();
|
||||||
|
|
||||||
//#define CNPROTO_VERSION_0728
|
//#define CNPROTO_VERSION_0728
|
||||||
#define CNPROTO_VERSION_0104
|
#define CNPROTO_VERSION_0104
|
||||||
|
|
||||||
// ========================================================[[ beta-20100104 ]]========================================================
|
|
||||||
#if defined(CNPROTO_VERSION_0104)
|
#if defined(CNPROTO_VERSION_0104)
|
||||||
#include "structs/0104.hpp"
|
#include "structs/0104.hpp"
|
||||||
#elif defined(CNPROTO_VERSION_0728)
|
#elif defined(CNPROTO_VERSION_0728)
|
||||||
|
Loading…
Reference in New Issue
Block a user