MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / code_point_to_utf32

Function code_point_to_utf32

extlibs/sol3/include/sol/sol.hpp:11511–11517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11509 }
11510
11511 inline encoded_result<char32_t> code_point_to_utf32(char32_t codepoint) {
11512 encoded_result<char32_t> er;
11513 er.code_units_size = 1;
11514 er.code_units[0] = codepoint;
11515 er.error = error_code::ok;
11516 return er;
11517 }
11518
11519 template <typename It>
11520 inline decoded_result<It> utf8_to_code_point(It it, It last) {

Callers 2

convertFunction · 0.85
getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected