The API eina_slstr_ is meant to look just like const
strings, wihch means here there could instead be an internal
struct holding the name, and the API would behave the same.
Note: This API is new in 1.20
* @return name of joystick.
* @since 1.20
*/
- EAPI Eina_Slstr *ecore_input_joystick_name_get(int index);
+ EAPI const char *ecore_input_joystick_name_get(int index);
#ifdef __cplusplus
}
#endif
return _event_axis_deadzone;
}
-EAPI Eina_Slstr *
+EAPI const char *
ecore_input_joystick_name_get(int index)
{
#if defined(HAVE_EEZE) && defined(JSIOCGNAME)