mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use std::vector for charmap output
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define RGBDS_ASM_CHARMAP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
|
||||
#define DEFAULT_CHARMAP_NAME "main"
|
||||
|
||||
@@ -13,7 +14,7 @@ void charmap_Push(void);
|
||||
void charmap_Pop(void);
|
||||
void charmap_Add(char *mapping, uint8_t value);
|
||||
bool charmap_HasChar(char const *input);
|
||||
size_t charmap_Convert(char const *input, uint8_t *output);
|
||||
size_t charmap_ConvertNext(char const **input, uint8_t **output);
|
||||
void charmap_Convert(char const *input, std::vector<uint8_t> &output);
|
||||
size_t charmap_ConvertNext(char const **input, std::vector<uint8_t> *output);
|
||||
|
||||
#endif // RGBDS_ASM_CHARMAP_H
|
||||
|
||||
Reference in New Issue
Block a user