version string as const char*

This commit is contained in:
tpltnt 2013-04-09 10:18:27 +02:00
parent a3018692dc
commit 72ee386e10
2 changed files with 2 additions and 2 deletions

View File

@ -18,5 +18,5 @@ int mbus_init() {return 0;}
/// ///
/// Return current version of the library /// Return current version of the library
/// ///
char* const char*
mbus_get_current_version() {return "0.8.0";} mbus_get_current_version() {return "0.8.0";}

View File

@ -46,7 +46,7 @@ extern "C" {
// //
// //
int mbus_init(); int mbus_init();
char* mbus_get_current_version(); const char* mbus_get_current_version();
#ifdef __cplusplus #ifdef __cplusplus
} }