mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-15 21:50:31 +00:00
Added SDL_strnlen() and SDL_wcsnlen()
This commit is contained in:
@@ -875,6 +875,8 @@ SDL3_0.0.0 {
|
||||
SDL_GetGamepadStringForType;
|
||||
SDL_GetRealGamepadInstanceType;
|
||||
SDL_GetRealGamepadType;
|
||||
SDL_wcsnlen;
|
||||
SDL_strnlen;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
||||
@@ -901,3 +901,5 @@
|
||||
#define SDL_GetGamepadStringForType SDL_GetGamepadStringForType_REAL
|
||||
#define SDL_GetRealGamepadInstanceType SDL_GetRealGamepadInstanceType_REAL
|
||||
#define SDL_GetRealGamepadType SDL_GetRealGamepadType_REAL
|
||||
#define SDL_wcsnlen SDL_wcsnlen_REAL
|
||||
#define SDL_strnlen SDL_strnlen_REAL
|
||||
|
||||
@@ -946,3 +946,5 @@ SDL_DYNAPI_PROC(SDL_GamepadType,SDL_GetGamepadTypeFromString,(const char *a),(a)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetGamepadStringForType,(SDL_GamepadType a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_GamepadType,SDL_GetRealGamepadInstanceType,(SDL_JoystickID a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_GamepadType,SDL_GetRealGamepadType,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(size_t,SDL_wcsnlen,(const wchar_t *a, size_t b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(size_t,SDL_strnlen,(const char *a, size_t b),(a,b),return)
|
||||
|
||||
Reference in New Issue
Block a user