Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
fb4f4383
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
1
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fb4f4383
编写于
10月 08, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add HB_DEPRECATED
Fixes
https://github.com/harfbuzz/harfbuzz/issues/1232
上级
80e3102b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
6 deletion
+15
-6
src/hb-common.h
src/hb-common.h
+9
-0
src/hb-deprecated.h
src/hb-deprecated.h
+6
-6
未找到文件。
src/hb-common.h
浏览文件 @
fb4f4383
...
...
@@ -63,6 +63,15 @@ typedef unsigned __int64 uint64_t;
# include <stdint.h>
#endif
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
#define HB_DEPRECATED __attribute__((__deprecated__))
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
#define HB_DEPRECATED __declspec(deprecated)
#else
#define HB_DEPRECATED
#endif
HB_BEGIN_DECLS
...
...
src/hb-deprecated.h
浏览文件 @
fb4f4383
...
...
@@ -50,12 +50,12 @@ typedef hb_bool_t (*hb_font_get_glyph_func_t) (hb_font_t *font, void *font_data,
hb_codepoint_t
*
glyph
,
void
*
user_data
);
HB_EXTERN
void
HB_EXTERN
HB_DEPRECATED
void
hb_font_funcs_set_glyph_func
(
hb_font_funcs_t
*
ffuncs
,
hb_font_get_glyph_func_t
func
,
void
*
user_data
,
hb_destroy_func_t
destroy
);
HB_EXTERN
void
HB_EXTERN
HB_DEPRECATED
void
hb_set_invert
(
hb_set_t
*
set
);
/**
...
...
@@ -79,7 +79,7 @@ typedef unsigned int (*hb_unicode_eastasian_width_func_t) (hb_unicode_funcs_t
* Since: 0.9.2
* Deprecated: REPLACEME
**/
HB_EXTERN
void
HB_EXTERN
HB_DEPRECATED
void
hb_unicode_funcs_set_eastasian_width_func
(
hb_unicode_funcs_t
*
ufuncs
,
hb_unicode_eastasian_width_func_t
func
,
void
*
user_data
,
hb_destroy_func_t
destroy
);
...
...
@@ -90,7 +90,7 @@ hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs,
* Since: 0.9.2
* Deprecated: REPLACEME
**/
HB_EXTERN
unsigned
int
HB_EXTERN
HB_DEPRECATED
unsigned
int
hb_unicode_eastasian_width
(
hb_unicode_funcs_t
*
ufuncs
,
hb_codepoint_t
unicode
);
...
...
@@ -141,7 +141,7 @@ typedef unsigned int (*hb_unicode_decompose_compatibility_func_t) (hb_unicode_
* Since: 0.9.2
* Deprecated: REPLACEME
**/
HB_EXTERN
void
HB_EXTERN
HB_DEPRECATED
void
hb_unicode_funcs_set_decompose_compatibility_func
(
hb_unicode_funcs_t
*
ufuncs
,
hb_unicode_decompose_compatibility_func_t
func
,
void
*
user_data
,
hb_destroy_func_t
destroy
);
...
...
@@ -152,7 +152,7 @@ hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
*
* Deprecated: REPLACEME
**/
HB_EXTERN
unsigned
int
HB_EXTERN
HB_DEPRECATED
unsigned
int
hb_unicode_decompose_compatibility
(
hb_unicode_funcs_t
*
ufuncs
,
hb_codepoint_t
u
,
hb_codepoint_t
*
decomposed
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录