Use std::vector for charmap output

This commit is contained in:
Rangi42
2024-02-26 13:07:51 -05:00
committed by Sylvie
parent 52ac98c294
commit a24df27cd8
6 changed files with 33 additions and 35 deletions

View File

@@ -5,12 +5,13 @@
#include <stddef.h>
#include <stdint.h>
#include <vector>
char const *printChar(int c);
/*
* @return The number of bytes read, or 0 if invalid data was found
*/
size_t readUTF8Char(uint8_t *dest, char const *src);
size_t readUTF8Char(std::vector<uint8_t> *dest, char const *src);
#endif // RGBDS_UTIL_H