aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
index 8a96b59..89394bf 100644
--- a/src/io.h
+++ b/src/io.h
@@ -1,6 +1,7 @@
#ifndef DUCC_IO_H
#define DUCC_IO_H
+#include "json.h"
#include "std.h"
struct SourceLocation {
@@ -9,6 +10,8 @@ struct SourceLocation {
};
typedef struct SourceLocation SourceLocation;
+void sourcelocation_build_json(JsonBuilder* builder, SourceLocation* loc);
+
struct InFile {
const char* buf;
int pos;