#include "core/fxcrt/fx_extension.h"
#include <wchar.h>
#include "core/fxcrt/check.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/utf16.h"
#include "core/fxcrt/widestring.h"
namespace {
time_t DefaultTimeFunction() { … }
struct tm* DefaultLocaltimeFunction(const time_t* tp) { … }
time_t (*g_time_func)() = …;
struct tm* (*g_localtime_func)(const time_t*) = …;
}
float FXSYS_wcstof(WideStringView pwsStr, size_t* pUsedLen) { … }
wchar_t* FXSYS_wcsncpy(wchar_t* dstStr, const wchar_t* srcStr, size_t count) { … }
void FXSYS_IntToTwoHexChars(uint8_t n, char* buf) { … }
void FXSYS_IntToFourHexChars(uint16_t n, char* buf) { … }
size_t FXSYS_ToUTF16BE(uint32_t unicode, char* buf) { … }
void FXSYS_SetTimeFunction(time_t (*func)()) { … }
void FXSYS_SetLocaltimeFunction(struct tm* (*func)(const time_t*)) { … }
time_t FXSYS_time(time_t* tloc) { … }
struct tm* FXSYS_localtime(const time_t* tp) { … }