mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-27 09:01:34 +00:00
Added SDL_strndup()
This commit is contained in:
@@ -870,6 +870,7 @@ SDL3_0.0.0 {
|
||||
SDL_GetGamepadInstanceID;
|
||||
SDL_GetGamepadPowerLevel;
|
||||
SDL_SetGamepadMapping;
|
||||
SDL_strndup;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
||||
@@ -896,3 +896,4 @@
|
||||
#define SDL_GetGamepadInstanceID SDL_GetGamepadInstanceID_REAL
|
||||
#define SDL_GetGamepadPowerLevel SDL_GetGamepadPowerLevel_REAL
|
||||
#define SDL_SetGamepadMapping SDL_SetGamepadMapping_REAL
|
||||
#define SDL_strndup SDL_strndup_REAL
|
||||
|
||||
@@ -941,3 +941,4 @@ SDL_DYNAPI_PROC(int,SDL_ClearClipboardData,(void),(),return)
|
||||
SDL_DYNAPI_PROC(SDL_JoystickID,SDL_GetGamepadInstanceID,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_JoystickPowerLevel,SDL_GetGamepadPowerLevel,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_SetGamepadMapping,(SDL_JoystickID a, const char *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(char*,SDL_strndup,(const char *a, size_t b),(a,b),return)
|
||||
|
||||
Reference in New Issue
Block a user