mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 05:47:48 +00:00
Improve some const correctness in RGBASM
This commit is contained in:
@@ -12,7 +12,7 @@ void charmap_New(char const *name, char const *baseName);
|
||||
void charmap_Set(char const *name);
|
||||
void charmap_Push();
|
||||
void charmap_Pop();
|
||||
void charmap_Add(char *mapping, uint8_t value);
|
||||
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);
|
||||
size_t charmap_ConvertNext(char const *&input, std::vector<uint8_t> *output);
|
||||
|
||||
@@ -10,8 +10,8 @@ void opt_G(char const chars[4]);
|
||||
void opt_P(uint8_t padByte);
|
||||
void opt_Q(uint8_t precision);
|
||||
void opt_L(bool optimize);
|
||||
void opt_W(char *flag);
|
||||
void opt_Parse(char *option);
|
||||
void opt_W(char const *flag);
|
||||
void opt_Parse(char const *option);
|
||||
|
||||
void opt_Push();
|
||||
void opt_Pop();
|
||||
|
||||
@@ -57,7 +57,7 @@ enum WarningID {
|
||||
extern enum WarningState warningStates[NB_PLAIN_AND_PARAM_WARNINGS];
|
||||
extern bool warningsAreErrors;
|
||||
|
||||
void processWarningFlag(char *flag);
|
||||
void processWarningFlag(char const *flag);
|
||||
|
||||
/*
|
||||
* Used to warn the user about problems that don't prevent the generation of
|
||||
|
||||
Reference in New Issue
Block a user