aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cu/path.h10
-rw-r--r--include/ek/actualize.h (renamed from include/cu/actualize.h)0
-rw-r--r--include/ek/ast.h (renamed from include/cu/ast.h)0
-rw-r--r--include/ek/compiler.h (renamed from include/cu/compiler.h)8
-rw-r--r--include/ek/debug.h (renamed from include/cu/debug.h)8
-rw-r--r--include/ek/imports.h (renamed from include/cu/imports.h)6
-rw-r--r--include/ek/parser.h (renamed from include/cu/parser.h)2
-rw-r--r--include/ek/path.h10
-rw-r--r--include/ek/res.h (renamed from include/cu/res.h)6
-rw-r--r--include/ek/scope.h (renamed from include/cu/scope.h)0
-rw-r--r--include/ek/string.h (renamed from include/cu/string.h)6
11 files changed, 28 insertions, 28 deletions
diff --git a/include/cu/path.h b/include/cu/path.h
deleted file mode 100644
index 700f77f..0000000
--- a/include/cu/path.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-
-#ifndef CT_PATH
-#define CT_PATH
-
-char *cu_basename(const char *file);
-char *cu_dirname(const char *file);
-char *cu_cwdname();
-
-#endif /* CT_PATH */
diff --git a/include/cu/actualize.h b/include/ek/actualize.h
index 94a4d30..94a4d30 100644
--- a/include/cu/actualize.h
+++ b/include/ek/actualize.h
diff --git a/include/cu/ast.h b/include/ek/ast.h
index 44850b6..44850b6 100644
--- a/include/cu/ast.h
+++ b/include/ek/ast.h
diff --git a/include/cu/compiler.h b/include/ek/compiler.h
index 325c746..ed60629 100644
--- a/include/cu/compiler.h
+++ b/include/ek/compiler.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#ifndef CT_COMPILER_H
-#define CT_COMPILER_H
+#ifndef EK_COMPILER_H
+#define EK_COMPILER_H
-#include <cu/scope.h>
+#include <ek/scope.h>
int compile(const char *file);
int process_file(struct scope **parent, int public, const char *file);
-#endif /* CT_COMPILER_H */
+#endif /* EK_COMPILER_H */
diff --git a/include/cu/debug.h b/include/ek/debug.h
index 3099b3c..ef97f65 100644
--- a/include/cu/debug.h
+++ b/include/ek/debug.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#ifndef CT_DEBUG_H
-#define CT_DEBUG_H
+#ifndef EK_DEBUG_H
+#define EK_DEBUG_H
#include <stdio.h>
-#include <cu/ast.h>
+#include <ek/ast.h>
#if DEBUG
#define debug(x, ...) \
@@ -53,4 +53,4 @@ struct src_issue {
};
void src_issue(struct src_issue issue, const char *err_msg, ...);
-#endif /* CT_DEBUG_H */
+#endif /* EK_DEBUG_H */
diff --git a/include/cu/imports.h b/include/ek/imports.h
index 1043cef..3d806f5 100644
--- a/include/cu/imports.h
+++ b/include/ek/imports.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#ifndef CT_IMPORTS_H
-#define CT_IMPORTS_H
+#ifndef EK_IMPORTS_H
+#define EK_IMPORTS_H
#include <stdbool.h>
@@ -9,4 +9,4 @@ void add_import_path(const char *dir);
const char *find_import(const char *file);
bool already_imported(const char *file);
-#endif /* CT_IMPORTS_H */
+#endif /* EK_IMPORTS_H */
diff --git a/include/cu/parser.h b/include/ek/parser.h
index dfc2b6a..f4e471d 100644
--- a/include/cu/parser.h
+++ b/include/ek/parser.h
@@ -5,7 +5,7 @@
#include <stddef.h>
#include <stdbool.h>
-#include <cu/ast.h>
+#include <ek/ast.h>
struct parser {
bool failed;
diff --git a/include/ek/path.h b/include/ek/path.h
new file mode 100644
index 0000000..f4115e7
--- /dev/null
+++ b/include/ek/path.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+
+#ifndef EK_PATH
+#define EK_PATH
+
+char *ek_basename(const char *file);
+char *ek_dirname(const char *file);
+char *ek_cwdname();
+
+#endif /* EK_PATH */
diff --git a/include/cu/res.h b/include/ek/res.h
index e1a1fc3..b3efd63 100644
--- a/include/cu/res.h
+++ b/include/ek/res.h
@@ -5,8 +5,8 @@
* Simple resource manager header.
*/
-#ifndef CT_RES_H
-#define CT_RES_H
+#ifndef EK_RES_H
+#define EK_RES_H
#include <stddef.h>
@@ -54,4 +54,4 @@ void res_add(struct res *r, void *p);
*/
void res_destroy(struct res *r);
-#endif /* CT_RES_H */
+#endif /* EK_RES_H */
diff --git a/include/cu/scope.h b/include/ek/scope.h
index a325fcb..a325fcb 100644
--- a/include/cu/scope.h
+++ b/include/ek/scope.h
diff --git a/include/cu/string.h b/include/ek/string.h
index 75d7c62..709ae90 100644
--- a/include/cu/string.h
+++ b/include/ek/string.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#ifndef CT_STRING_H
-#define CT_STRING_H
+#ifndef EK_STRING_H
+#define EK_STRING_H
#include <stddef.h>
#include <string.h>
@@ -25,4 +25,4 @@ char str_rindex(struct string *s, size_t i);
bool str_compare(struct string *s, const char *c);
void str_clear(struct string *s);
-#endif /* CT_STRING_H */
+#endif /* EK_STRING_H */