Closed lgrz closed 9 years ago
Submitting this one as a PR, it includes breaking changes to the existing API:
get_drive_name and get_joystick_name may call SDL_SetError so the return type of these functions was changed from String to Restult<String, String>.
get_drive_name
get_joystick_name
SDL_SetError
String
Restult<String, String>
If there is anything wrong with these changes or if you have better suggestions, let me know.
Ok I'll merge this one in. It turns out the latest changes 3bb9ef6c fix the segfault with get_key_name so that has been removed.
get_key_name
Submitting this one as a PR, it includes breaking changes to the existing API:
get_drive_name
andget_joystick_name
may callSDL_SetError
so the return type of these functions was changed fromString
toRestult<String, String>
.If there is anything wrong with these changes or if you have better suggestions, let me know.