mirror of
https://github.com/zlgopen/awtk.git
synced 2025-05-09 03:51:08 +08:00
refactor
This commit is contained in:
parent
5cd3530465
commit
c4f88d8236
Binary file not shown.
Before Width: | Height: | Size: 247 B |
Binary file not shown.
Before Width: | Height: | Size: 155 B |
1
staticcheck/README.md
Normal file
1
staticcheck/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# 静态代码检查
|
@ -12,7 +12,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
#define TTF_FILE TK_ROOT "/data/fonts/starthere.ttf"
|
#define TTF_FILE TK_ROOT "/tests/testdata/assets/raw/fonts/starthere.ttf"
|
||||||
#define BUFF_SIZE 1024 * 1024
|
#define BUFF_SIZE 1024 * 1024
|
||||||
|
|
||||||
TEST(FontGen, basic) {
|
TEST(FontGen, basic) {
|
||||||
@ -47,3 +47,4 @@ TEST(FontGen, basic) {
|
|||||||
TKMEM_FREE(bmp_buff);
|
TKMEM_FREE(bmp_buff);
|
||||||
TKMEM_FREE(ttf_buff);
|
TKMEM_FREE(ttf_buff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user