Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
itdan3344
stb
提交
c6f33a1f
S
stb
项目概览
itdan3344
/
stb
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
stb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c6f33a1f
编写于
9月 13, 2015
作者:
S
Sean Barrett
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '64bit' of
https://github.com/Mischanix/stb
into working
上级
24602db4
51415dea
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
19 addition
and
6 deletion
+19
-6
stb.h
stb.h
+19
-6
未找到文件。
stb.h
浏览文件 @
c6f33a1f
...
...
@@ -1036,9 +1036,15 @@ void stb_fatal(char *s, ...)
vfprintf
(
stderr
,
s
,
a
);
va_end
(
a
);
fputs
(
"
\n
"
,
stderr
);
#ifdef _WIN32
#ifdef STB_DEBUG
#ifdef _MSC_VER
#ifndef STB_PTR64
__asm
int
3
;
// trap to debugger!
#else
__debugbreak
();
#endif
#else
__builtin_trap
();
#endif
#endif
exit
(
1
);
...
...
@@ -5840,14 +5846,19 @@ static char **readdir_raw(char *dir, int return_subdirs, char *mask)
{
char
**
results
=
NULL
;
char
buffer
[
512
],
with_slash
[
512
];
in
t
n
;
size_
t
n
;
#ifdef _MSC_VER
stb__wchar
*
ws
;
struct
_wfinddata_t
data
;
#ifdef _WIN64
const
intptr_t
none
=
-
1
;
intptr_t
z
;
#else
const
long
none
=
-
1
;
long
z
;
#else
#endif
#else // !_MSC_VER
const
DIR
*
none
=
NULL
;
DIR
*
z
;
#endif
...
...
@@ -6821,7 +6832,11 @@ static void stb__dirtree_scandir(char *path, time_t last_time, stb_dirtree *acti
int
n
;
struct
_wfinddata_t
c_file
;
#ifdef STB_PTR64
intptr_t
hFile
;
#else
long
hFile
;
#endif
stb__wchar
full_path
[
1024
];
int
has_slash
;
...
...
@@ -7353,7 +7368,7 @@ STB_EXTERN void ** stb_ps_fastlist(stb_ps *ps, int *count);
// but some entries of the list may be invalid;
// test with 'stb_ps_fastlist_valid(x)'
#define stb_ps_fastlist_valid(x) ((
unsigned int
) (x) > 1)
#define stb_ps_fastlist_valid(x) ((
stb_uinta
) (x) > 1)
#ifdef STB_DEFINE
...
...
@@ -7374,8 +7389,6 @@ typedef struct
#define GetBucket(p) ((stb_ps_bucket *) ((char *) (p) - STB_ps_bucket))
#define EncodeBucket(p) ((stb_ps *) ((char *) (p) + STB_ps_bucket))
typedef
char
stb__verify_bucket_heap_size
[
sizeof
(
stb_ps_bucket
)
==
16
];
static
void
stb_bucket_free
(
stb_ps_bucket
*
b
)
{
free
(
b
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录