aboutsummaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-02-22 10:17:40 -0600
committerame <[email protected]>2024-02-22 10:17:40 -0600
commit867a86a9ab31c0652a46759443fc98a49f91c8dd (patch)
treef252e0c821a3c2cce56dd3180ea1c70fccd48d5a /src/io.c
parent83f9dca38af329d214c7d6dd2819ec2c6621d679 (diff)
cleaning and switch to parray_t
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index cc33a71..852d175 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1,5 +1,5 @@
#include <unistd.h>
-#include "i_str.h"
+#include "types/str.h"
#include "io.h"
#include "stdlib.h"
#include "stdio.h"
@@ -30,7 +30,7 @@ int l_readfile(lua_State* L){
char* out = calloc(sz + 1, sizeof * out);
fread(out, sizeof * out, sz, fp);
-
+
lua_pushlstring(L, out, sz);
fclose(fp);