]> git.sur5r.net Git - cc65/blobdiff - src/ca65/objfile.h
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / ca65 / objfile.h
index 4268907c8259defd1a63c353b8915dc92fda442e..c1d148725d32385c27f4aa20cf2f89d81026960b 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                objfile.h                                 */
+/*                                 objfile.h                                 */
 /*                                                                           */
-/*        Object file writing routines for the ca65 macroassembler          */
+/*         Object file writing routines for the ca65 macroassembler          */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2003 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2011, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 /* common */
 #include "filepos.h"
+#include "strbuf.h"
 
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -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 */
 
@@ -127,11 +137,26 @@ void ObjStartStrPool (void);
 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 */
 
-/* End of objfile.h */
-              
-#endif
+void ObjStartScopes (void);
+/* Mark the start of the scope table */
 
+void ObjEndScopes (void);
+/* Mark the end of the scope table */
 
+void ObjStartSpans (void);
+/* Mark the start of the span table */
 
+void ObjEndSpans (void);
+/* Mark the end of the span table */
+
+
+
+/* End of objfile.h */
+
+#endif