]> git.sur5r.net Git - cc65/blobdiff - src/ca65/objfile.h
More lineinfo usage.
[cc65] / src / ca65 / objfile.h
index 07ba44c4a1c3eedd8631d9b31b64c60d06e9c173..3abcd7cf6ffe05291bc4b021d64f5075c88788e9 100644 (file)
@@ -6,9 +6,9 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2001 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstraße 52                                              */
+/*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
@@ -40,6 +40,7 @@
 
 /* common */
 #include "filepos.h"
+#include "strbuf.h"
 
 
 
@@ -55,6 +56,12 @@ void ObjOpen (void);
 void ObjClose (void);
 /* Write an update header and close the object file. */
 
+unsigned long ObjGetFilePos (void);
+/* Get the current file position */
+
+void ObjSetFilePos (unsigned long Pos);
+/* Set the file position */
+
 void ObjWrite8 (unsigned V);
 /* Write an 8 bit value to the file */
 
@@ -73,6 +80,9 @@ void ObjWriteVar (unsigned long V);
 void ObjWriteStr (const char* S);
 /* Write a string to the object file */
 
+void ObjWriteBuf (const StrBuf* S);
+/* Write a string to the object file */
+
 void ObjWriteData (const void* Data, unsigned Size);
 /* Write literal data to the file */
 
@@ -121,6 +131,24 @@ void ObjStartLineInfos (void);
 void ObjEndLineInfos (void);
 /* Mark the end of the line info section */
 
+void ObjStartStrPool (void);
+/* Mark the start of the string pool section */
+
+void ObjEndStrPool (void);
+/* Mark the end of the string pool section */
+
+void ObjStartAssertions (void);
+/* Mark the start of the assertion table */
+
+void ObjEndAssertions (void);
+/* Mark the end of the assertion table */
+
+void ObjStartScopes (void);
+/* Mark the start of the scope table */
+
+void ObjEndScopes (void);
+/* Mark the end of the scope table */
+
 
 
 /* End of objfile.h */