aboutsummaryrefslogtreecommitdiff
path: root/file_loader.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
commit45d7aff47545f52136487fbb5b06cdcf716cbe9f (patch)
tree38140eaa9d47cea8276e06cec93f0cb2988eae8d /file_loader.h
parent7e4b287d9bd904aaf9cc2bf77cdd456194130e99 (diff)
Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
Diffstat (limited to 'file_loader.h')
-rw-r--r--file_loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/file_loader.h b/file_loader.h
index 0094732..2a47d40 100644
--- a/file_loader.h
+++ b/file_loader.h
@@ -6,10 +6,13 @@
#include <stdio.h>
+struct allocated_op_s; // declared in types.h
+
typedef struct {
const char *filename;
char *contents, **lines, *end;
size_t nlines;
+ struct allocated_op_s *ops;
unsigned int mmapped:1;
} file_t;