summaryrefslogtreecommitdiffhomepage
path: root/source.h
diff options
context:
space:
mode:
Diffstat (limited to 'source.h')
-rw-r--r--source.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/source.h b/source.h
index 4ca01b3..6557a48 100644
--- a/source.h
+++ b/source.h
@@ -22,17 +22,9 @@
#include <stdio.h>
#include "util.h"
+#include "types.h"
-uc_declare_vector(uc_lineinfo, uint8_t);
-
-typedef struct {
- char *filename, *buffer;
- FILE *fp;
- size_t usecount, off;
- uc_lineinfo lineinfo;
-} uc_source;
-
uc_source *uc_source_new_file(const char *path);
uc_source *uc_source_new_buffer(const char *name, char *buf, size_t len);