jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9c18f0d00ac530563547706b603c62e7e25d9b47

commit 9c18f0d00ac530563547706b603c62e7e25d9b47
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Jul 17 11:00:23 2017 +0900

    ecore joystick: Use const char * in API, not slstr
    
    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
---
 src/lib/ecore_input/Ecore_Input.h          | 2 +-
 src/lib/ecore_input/ecore_input_joystick.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_input/Ecore_Input.h 
b/src/lib/ecore_input/Ecore_Input.h
index 8139f563d7..6853e764b5 100644
--- a/src/lib/ecore_input/Ecore_Input.h
+++ b/src/lib/ecore_input/Ecore_Input.h
@@ -489,7 +489,7 @@ extern "C" {
     * @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
diff --git a/src/lib/ecore_input/ecore_input_joystick.c 
b/src/lib/ecore_input/ecore_input_joystick.c
index 58fbedef67..28f527bc89 100644
--- a/src/lib/ecore_input/ecore_input_joystick.c
+++ b/src/lib/ecore_input/ecore_input_joystick.c
@@ -622,7 +622,7 @@ ecore_input_joystick_event_axis_deadzone_get(void)
    return _event_axis_deadzone;
 }
 
-EAPI Eina_Slstr *
+EAPI const char *
 ecore_input_joystick_name_get(int index)
 {
 #if defined(HAVE_EEZE) && defined(JSIOCGNAME)

-- 


Reply via email to