aboutsummaryrefslogtreecommitdiff
path: root/tests/cyn
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyn')
-rw-r--r--tests/cyn/file.c1
-rw-r--r--tests/cyn/log.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/cyn/file.c b/tests/cyn/file.c
index 7767f7a..a847c1d 100644
--- a/tests/cyn/file.c
+++ b/tests/cyn/file.c
@@ -1,6 +1,7 @@
#include <cynic.h>
int main(void) {
+ un_init(UN_KB(4));
// cyn_log_write(CYN_LOG_INFO, UN_STR("Size of it is: %l"), sizeof(File_Handle));
File_Handle file = cyn_file_open(UN_STR("Ligma.png"));
}
diff --git a/tests/cyn/log.c b/tests/cyn/log.c
index 067d557..9a61bef 100644
--- a/tests/cyn/log.c
+++ b/tests/cyn/log.c
@@ -1,7 +1,7 @@
#include <cynic.h>
int main(void) {
- un_alloc_temp_init(UN_KB(4));
+ un_init(UN_KB(4));
cyn_log_write(CYN_LOG_INFO, UN_STR("Hello %u %d %s!"), (u64)100, (s64)-400, UN_STR("World"));
}