diff --git a/include/LCUI/LCUI_Misc.h b/include/LCUI/LCUI_Misc.h index 837b74d4..1d4afa8e 100755 --- a/include/LCUI/LCUI_Misc.h +++ b/include/LCUI/LCUI_Misc.h @@ -137,7 +137,7 @@ LCUI_API int get_PX_PT_t( char *str, PX_PT_t *combo_num ); /** 根据给定的字符串,生成一个ID */ -unsigned int BKDRHash( const char *str ); +LCUI_API unsigned int BKDRHash( const char *str ); /* 录制屏幕指定区域的内容 */ LCUI_API int diff --git a/src/misc/misc.c b/src/misc/misc.c index c24e1016..363c324a 100755 --- a/src/misc/misc.c +++ b/src/misc/misc.c @@ -339,7 +339,7 @@ get_PX_PT_t( char *str, PX_PT_t *combo_num ) } /** 根据给定的字符串,生成一个ID */ -unsigned int BKDRHash( const char *str ) +LCUI_API unsigned int BKDRHash( const char *str ) { unsigned int seed = 131; unsigned int hash = 0;