mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
14 lines
487 B
C++
14 lines
487 B
C++
#ifndef STORM_UNICODE_HPP
|
|
#define STORM_UNICODE_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
uint32_t SUniSGetUTF8(const uint8_t* strptr, int32_t* chars);
|
|
|
|
void SUniSPutUTF8(uint32_t c, char* strptr);
|
|
|
|
int32_t SUniConvertUTF16to8(uint8_t* dst, uint32_t dstmaxchars, const uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars);
|
|
|
|
int32_t SUniConvertUTF8to16(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars);
|
|
|
|
#endif
|