moved tim.h to include/
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Shows xterm-256 color palette.
|
||||
|
||||
#include "../tim.h"
|
||||
#include "tim.h"
|
||||
|
||||
static void foo(int x, int y, int c) {
|
||||
char buf[16] = {0};
|
||||
@@ -27,4 +27,3 @@ int main(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Test string functions.
|
||||
|
||||
#include "../tim.h"
|
||||
#include "tim.h"
|
||||
|
||||
#define U(s) (uint8_t*)(""s), (sizeof(s) - 1)
|
||||
#define TEST(t) printf("\33[3%s\33[0m %s\n", (t) ? "2mpass" : "1mfail", #t)
|
||||
@@ -68,4 +68,3 @@ int main(void) {
|
||||
TEST(is_wide_perhaps(U("한")) == true);
|
||||
TEST(is_wide_perhaps(U("𐍈")) == true);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "../tim.h"
|
||||
#include "tim.h"
|
||||
|
||||
static inline void test_screen(TimEvent_t* e) {
|
||||
static TimEvent_t me;
|
||||
@@ -118,4 +118,3 @@ int main(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Test character width.
|
||||
|
||||
#include <assert.h>
|
||||
#include "../tim.h"
|
||||
#include "tim.h"
|
||||
|
||||
static int cp_to_utf8(int32_t cp, char* s) {
|
||||
assert(cp > 0 && cp < 0x110000);
|
||||
|
||||
Reference in New Issue
Block a user