mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 12:48:28 +00:00
Add all missing "is characteristic" stdlib functions
SDL has been missing a bunch of these 'isX' functions for some time, where X is some characteristic of a given character. This commit adds the rest of them to the SDL stdlib, so now we have: - SDL_isalpha() - SDL_isalnum() - SDL_isblank() - SDL_iscntrl() - SDL_isxdigit() - SDL_ispunct() - SDL_isprint() - SDL_isgraph()
This commit is contained in:
parent
88f1c2c1b0
commit
dfe219ec71
4 changed files with 43 additions and 0 deletions
|
@ -862,3 +862,11 @@ SDL_DYNAPI_PROC(void,SDL_SetWindowKeyboardGrab,(SDL_Window *a, SDL_bool b),(a,b)
|
|||
SDL_DYNAPI_PROC(void,SDL_SetWindowMouseGrab,(SDL_Window *a, SDL_bool b),(a,b),)
|
||||
SDL_DYNAPI_PROC(SDL_bool,SDL_GetWindowKeyboardGrab,(SDL_Window *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_bool,SDL_GetWindowMouseGrab,(SDL_Window *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isalpha,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isalnum,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isblank,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_iscntrl,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isxdigit,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_ispunct,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isprint,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_isgraph,(int a),(a),return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue