From 8b1c8ea1dfb30a08152e9b2c2bf033e9eaeff959 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Wed, 31 Jul 2013 22:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=20BKDRHash()=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/LCUI/LCUI_Misc.h | 2 +- src/misc/misc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;