diff options
author | Lars Op den Kamp <lars@opdenkamp.eu> | 2015-02-17 19:46:13 +0100 |
---|---|---|
committer | Lars Op den Kamp <lars@opdenkamp.eu> | 2015-02-17 19:46:13 +0100 |
commit | 8c18ef47f69ad1383008a90a78652ea7b299bf35 (patch) | |
tree | e984fc4849727e25ac21388d8b6a9878757c5ca4 /lib/addons | |
parent | e578994410b0c1e1423584fc925e7a62cb29c53b (diff) |
Revert "[addon] Increase API with change 'char*' return value to 'const char*' to fix compiler warnings (addon relevant part)"
This reverts commit db44ba5faf00cf29ac7a45ef49a933d1ef45366b.
Diffstat (limited to 'lib/addons')
-rw-r--r-- | lib/addons/library.xbmc.addon/libXBMC_addon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp index 9355bc39b8..e00bc77584 100644 --- a/lib/addons/library.xbmc.addon/libXBMC_addon.cpp +++ b/lib/addons/library.xbmc.addon/libXBMC_addon.cpp @@ -92,7 +92,7 @@ DLLEXPORT bool XBMC_wake_on_lan(void* hdl, void* cb, char* mac) return ((CB_AddOnLib*)cb)->WakeOnLan(mac); } -DLLEXPORT const char* XBMC_unknown_to_utf8(void *hdl, void* cb, const char* str) +DLLEXPORT char* XBMC_unknown_to_utf8(void *hdl, void* cb, const char* str) { if (cb == NULL) return NULL; @@ -100,7 +100,7 @@ DLLEXPORT const char* XBMC_unknown_to_utf8(void *hdl, void* cb, const char* str) return ((CB_AddOnLib*)cb)->UnknownToUTF8(str); } -DLLEXPORT const char* XBMC_get_localized_string(void *hdl, void* cb, int dwCode) +DLLEXPORT char* XBMC_get_localized_string(void *hdl, void* cb, int dwCode) { if (cb == NULL) return ""; @@ -108,7 +108,7 @@ DLLEXPORT const char* XBMC_get_localized_string(void *hdl, void* cb, int dwCode) return ((CB_AddOnLib*)cb)->GetLocalizedString(((AddonCB*)hdl)->addonData, dwCode); } -DLLEXPORT const char* XBMC_get_dvd_menu_language(void *hdl, void* cb) +DLLEXPORT char* XBMC_get_dvd_menu_language(void *hdl, void* cb) { if (cb == NULL) return ""; |