mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Pass std::string references to charmap functions
This commit is contained in:
@@ -4,17 +4,18 @@
|
||||
#define RGBDS_ASM_CHARMAP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define DEFAULT_CHARMAP_NAME "main"
|
||||
|
||||
void charmap_New(char const *name, char const *baseName);
|
||||
void charmap_Set(char const *name);
|
||||
void charmap_New(std::string const &name, std::string const *baseName);
|
||||
void charmap_Set(std::string const &name);
|
||||
void charmap_Push();
|
||||
void charmap_Pop();
|
||||
void charmap_Add(char const *mapping, uint8_t value);
|
||||
bool charmap_HasChar(char const *input);
|
||||
void charmap_Convert(char const *input, std::vector<uint8_t> &output);
|
||||
void charmap_Add(std::string const &mapping, uint8_t value);
|
||||
bool charmap_HasChar(std::string const &input);
|
||||
void charmap_Convert(std::string 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