]> git.sur5r.net Git - cc65/blobdiff - src/cc65/input.h
Added the lineinfo module. Changed the complete code generation to use the
[cc65] / src / cc65 / input.h
index 4524ac98bdd36043a5f1c3a7ecccc23a00eaddee..873f05c010a92032c650983c8bcd7cd29fd96ef0 100644 (file)
 
 
 
+#include <stdio.h>
+
+
+
 /*****************************************************************************/
 /*                                  data                                    */
 /*****************************************************************************/
@@ -56,6 +60,14 @@ extern const char* lptr;             /* ### Remove this */
 extern char CurC;
 extern char NextC;
 
+/* Struct that describes an input file */
+typedef struct IFile IFile;
+struct IFile {
+    unsigned   Index;          /* File index                           */
+    unsigned   Usage;          /* Usage counter                        */
+    char               Name[1];        /* Name of file (dynamically allocated) */
+};
+
 
 
 /*****************************************************************************/