Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
b4b853b4
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b4b853b4
编写于
11月 09, 2009
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[master] Imported from libpng-1.2.41beta16.tar
上级
d5483f33
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
8 deletion
+9
-8
pngconf.h
pngconf.h
+9
-8
未找到文件。
pngconf.h
浏览文件 @
b4b853b4
...
...
@@ -1553,19 +1553,19 @@ typedef z_stream FAR * png_zstreamp;
#endif
#ifndef PNG_DEPRECATED
# define PNG_DEPRECATED
/*
u
se of this function is deprecated */
# define PNG_DEPRECATED
/*
U
se of this function is deprecated */
#endif
#ifndef PNG_USE_RESULT
# define PNG_USE_RESULT
/*
t
he result of this function must be checked */
# define PNG_USE_RESULT
/*
T
he result of this function must be checked */
#endif
#ifndef PNG_NORETURN
# define PNG_NORETURN
/*
t
his function does not return */
# define PNG_NORETURN
/*
T
his function does not return */
#endif
#ifndef PNG_ALLOCATED
# define PNG_ALLOCATED
/*
t
he result of the function is new memory */
# define PNG_ALLOCATED
/*
T
he result of the function is new memory */
#endif
#ifndef PNG_DEPSTRUCT
# define PNG_DEPSTRUCT
/*
a
ccess to this struct member is deprecated */
# define PNG_DEPSTRUCT
/*
A
ccess to this struct member is deprecated */
#endif
/* User may want to use these so they are not in PNG_INTERNAL. Any library
...
...
@@ -1584,7 +1584,7 @@ typedef z_stream FAR * png_zstreamp;
#endif
#ifdef USE_FAR_KEYWORD
/* memory model independent fns */
/*
u
se this to make far-to-near assignments */
/*
U
se this to make far-to-near assignments */
# define CHECK 1
# define NOCHECK 0
# define CVT_PTR(ptr) (png_far_to_near(png_ptr,ptr,CHECK))
...
...
@@ -1594,7 +1594,7 @@ typedef z_stream FAR * png_zstreamp;
# define png_memcmp _fmemcmp
/* SJT: added */
# define png_memcpy _fmemcpy
# define png_memset _fmemset
#else
/*
u
se the usual functions */
#else
/*
U
se the usual functions */
# define CVT_PTR(ptr) (ptr)
# define CVT_PTR_NOCHECK(ptr) (ptr)
# ifndef PNG_NO_SNPRINTF
...
...
@@ -1612,7 +1612,8 @@ typedef z_stream FAR * png_zstreamp;
* sprintf instead of snprintf exposes your application to accidental
* or malevolent buffer overflows. If you don't have snprintf()
* as a general rule you should provide one (you can get one from
* Portable OpenSSH). */
* Portable OpenSSH).
*/
# define png_snprintf(s1,n,fmt,x1) sprintf(s1,fmt,x1)
# define png_snprintf2(s1,n,fmt,x1,x2) sprintf(s1,fmt,x1,x2)
# define png_snprintf6(s1,n,fmt,x1,x2,x3,x4,x5,x6) \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录