mirror of
https://gitee.com/openharmony/third_party_icu
synced 2024-11-23 08:10:07 +00:00
!234 GetIcuVersion()接口返回短版本号
Merge pull request !234 from zhangdd_ewan/cherry-240507
This commit is contained in:
commit
d6e13caa09
@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
#include "init_data.h"
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <mutex>
|
||||
|
||||
namespace {
|
||||
@ -38,7 +38,7 @@ void SetHwIcuDirectory( )
|
||||
|
||||
extern "C" const char* GetIcuVersion()
|
||||
{
|
||||
const char* icuVerion = U_ICU_VERSION;
|
||||
const char* icuVerion = U_ICU_VERSION_SHORT;
|
||||
return icuVerion;
|
||||
}
|
||||
|
||||
|
@ -24,11 +24,11 @@
|
||||
*/
|
||||
void SetHwIcuDirectory( );
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* get icu version
|
||||
*/
|
||||
extern "C" const char* GetIcuVersion();
|
||||
|
||||
extern "C" void SetOhosIcuDirectory();
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user