]> git.sur5r.net Git - cc65/blobdiff - src/ca65/objfile.h
New module strstack
[cc65] / src / ca65 / objfile.h
index 27c19fd678fa7b726278f48bc0320e982ac53c6d..203d989933316804b9834545ec99018f5027be0a 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstraße 52                                              */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -38,7 +38,8 @@
 
 
 
-#include "../common/filepos.h"
+/* common */
+#include "filepos.h"
 
 
 
@@ -54,7 +55,13 @@ void ObjOpen (void);
 void ObjClose (void);
 /* Write an update header and close the object file. */
 
-void ObjWrite8 (unsigned char V);
+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 */
 
 void ObjWrite16 (unsigned V);
@@ -66,6 +73,9 @@ void ObjWrite24 (unsigned long V);
 void ObjWrite32 (unsigned long V);
 /* Write a 32 bit value to the file */
 
+void ObjWriteVar (unsigned long V);
+/* Write a variable sized value to the file in special encoding */
+
 void ObjWriteStr (const char* S);
 /* Write a string to the object file */
 
@@ -111,6 +121,30 @@ void ObjStartDbgSyms (void);
 void ObjEndDbgSyms (void);
 /* Mark the end of the debug symbol section */
 
+void ObjStartLineInfos (void);
+/* Mark the start of the line info section */
+
+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 */