未验证 提交 d9bf73f3 编写于 作者: O openharmony_ci 提交者: Gitee

!746 Revert unapproved changes of NDK API (mallinfo/mallinfo2)

Merge pull request !746 from sosnin-vladimir/revert_ndk_api_changes
......@@ -18,21 +18,31 @@ void *memalign(size_t, size_t);
size_t malloc_usable_size(void *);
#define __MALLINFO_BODY \
size_t arena; \
size_t ordblks; \
size_t smblks; \
size_t hblks; \
size_t hblkhd; \
size_t usmblks; \
size_t fsmblks; \
size_t uordblks; \
size_t fordblks; \
struct mallinfo {
int arena;
int ordblks;
int smblks;
int hblks;
int hblkhd;
int usmblks;
int fsmblks;
int uordblks;
int fordblks;
int keepcost;
};
struct mallinfo2 {
size_t arena;
size_t ordblks;
size_t smblks;
size_t hblks;
size_t hblkhd;
size_t usmblks;
size_t fsmblks;
size_t uordblks;
size_t fordblks;
size_t keepcost;
struct mallinfo { __MALLINFO_BODY };
struct mallinfo2 { __MALLINFO_BODY };
};
#ifdef __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册