Skip to content

Commit

Permalink
Renaming SDLK_QUOTEDBL to SDLK_DBLAPOSTROPHE
Browse files Browse the repository at this point in the history
  • Loading branch information
Sackzement authored and slouken committed May 14, 2024
1 parent 863a902 commit 3baec8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build-scripts/SDL_migration.cocci
Original file line number Diff line number Diff line change
Expand Up @@ -3152,3 +3152,7 @@ typedef SDL_Colour, SDL_Color;
@@
- SDLK_BACKQUOTE
+ SDLK_GRAVE
@@
@@
- SDLK_QUOTEDBL
+ SDLK_DBLAPOSTROPHE
1 change: 1 addition & 0 deletions docs/README-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ The following symbols have been renamed:
* KMOD_SHIFT => SDL_KMOD_SHIFT
* SDLK_BACKQUOTE => SDLK_GRAVE
* SDLK_QUOTE => SDLK_APOSTROPHE
* SDLK_QUOTEDBL => SDLK_DBLAPOSTROPHE

## SDL_loadso.h

Expand Down
2 changes: 1 addition & 1 deletion include/SDL3/SDL_keycode.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ typedef Uint32 SDL_Keycode;
#define SDLK_TAB '\t'
#define SDLK_SPACE ' '
#define SDLK_EXCLAIM '!'
#define SDLK_QUOTEDBL '"'
#define SDLK_DBLAPOSTROPHE '"'
#define SDLK_HASH '#'
#define SDLK_PERCENT '%'
#define SDLK_DOLLAR '$'
Expand Down
2 changes: 2 additions & 0 deletions include/SDL3/SDL_oldnames.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@
#define KMOD_SHIFT SDL_KMOD_SHIFT
#define SDLK_BACKQUOTE SDLK_GRAVE
#define SDLK_QUOTE SDLK_APOSTROPHE
#define SDLK_QUOTEDBL SDLK_DBLAPOSTROPHE

/* ##SDL_log.h */
#define SDL_LogGetOutputFunction SDL_GetLogOutputFunction
Expand Down Expand Up @@ -866,6 +867,7 @@
#define KMOD_SHIFT KMOD_SHIFT_renamed_SDL_KMOD_SHIFT
#define SDLK_BACKQUOTE SDLK_BACKQUOTE_renamed_SDLK_GRAVE
#define SDLK_QUOTE SDLK_QUOTE_renamed_SDLK_APOSTROPHE
#define SDLK_QUOTEDBL SDLK_QUOTEDBL_renamed_SDLK_DBLAPOSTROPHE

/* ##SDL_log.h */
#define SDL_LogGetOutputFunction SDL_LogGetOutputFunction_renamed_SDL_GetLogOutputFunction
Expand Down

0 comments on commit 3baec8a

Please sign in to comment.