Skip to content

Commit

Permalink
some const qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
SBird1337 committed Aug 31, 2018
1 parent 1063239 commit 0720ece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/include/pokeagb/core/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ POKEAGB_EXTERN u8 rboxid_draw_text(u8 id, u8 font, const pchar* s, u8 x, u8 y, u
/**
* @address{BPRE,0812E51C}
*/
POKEAGB_EXTERN u8 rboxid_print(u8 id, u8 font, u8 x, u8 y, struct TextColor* color,
POKEAGB_EXTERN u8 rboxid_print(u8 id, u8 font, u8 x, u8 y, const struct TextColor* color,
u8 speed, const pchar* s);

/**
Expand Down Expand Up @@ -331,7 +331,7 @@ POKEAGB_EXTERN void textbox_close(void);
* Rbox init, but for a special battle box
* @address{BPRE,08003B24}
*/
POKEAGB_EXTERN void rbox_init_from_templates(struct TextboxTemplate* templates);
POKEAGB_EXTERN void rbox_init_from_templates(const struct TextboxTemplate* templates);

/**
*
Expand Down
4 changes: 2 additions & 2 deletions include/pokeagb/core/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ POKEAGB_EXTERN u8 rboxid_draw_text(u8 id, u8 font, const pchar* s, u8 x, u8 y, u
/**
* @address{BPRE,0812E51C}
*/
POKEAGB_EXTERN u8 rboxid_print(u8 id, u8 font, u8 x, u8 y, struct TextColor* color,
POKEAGB_EXTERN u8 rboxid_print(u8 id, u8 font, u8 x, u8 y, const struct TextColor* color,
u8 speed, const pchar* s);

/**
Expand Down Expand Up @@ -331,7 +331,7 @@ POKEAGB_EXTERN void textbox_close(void);
* Rbox init, but for a special battle box
* @address{BPRE,08003B24}
*/
POKEAGB_EXTERN void rbox_init_from_templates(struct TextboxTemplate* templates);
POKEAGB_EXTERN void rbox_init_from_templates(const struct TextboxTemplate* templates);

/**
*
Expand Down

0 comments on commit 0720ece

Please sign in to comment.