duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

utf.hpp (342B)


      1 #ifndef C4_UTF_HPP_
      2 #define C4_UTF_HPP_
      3 
      4 #include "c4/language.hpp"
      5 #include "c4/substr_fwd.hpp"
      6 #include <stddef.h>
      7 #include <stdint.h>
      8 
      9 namespace c4 {
     10 
     11 substr decode_code_point(substr out, csubstr code_point);
     12 size_t decode_code_point(uint8_t *C4_RESTRICT buf, size_t buflen, const uint32_t code);
     13 
     14 } // namespace c4
     15 
     16 #endif // C4_UTF_HPP_