]> git.sur5r.net Git - cc65/blobdiff - src/cc65/litpool.h
Squashed one more bug in the switch statement
[cc65] / src / cc65 / litpool.h
index f168d89cf01bf86d95a6ac71794facdfd0ec3edf..e9ad3c5cb1f3cc24238630e7984dae2391dee286 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 1998-2001 Ullrich von Bassewitz                                       */
+/*               Wacholderweg 14                                             */
+/*               D-70597 Stuttgart                                           */
+/* EMail:        uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+#include <stdio.h>
+
+
+
 /*****************************************************************************/
 /*                                  Data                                    */
 /*****************************************************************************/
 
 
 
-extern unsigned LiteralLabel;          /* Pool asm label */
+extern unsigned LiteralPoolLabel;              /* Pool asm label */
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                  Code                                    */
 /*****************************************************************************/
 
 
 
+void InitLiteralPool (void);
+/* Initialize the literal pool */
+
 void TranslateLiteralPool (unsigned Offs);
 /* Translate the literals starting from the given offset into the target
  * charset.
@@ -62,10 +69,10 @@ void TranslateLiteralPool (unsigned Offs);
 void DumpLiteralPool (void);
 /* Dump the literal pool */
 
-unsigned GetLiteralOffs (void);
+unsigned GetLiteralPoolOffs (void);
 /* Return the current offset into the literal pool */
 
-void ResetLiteralOffs (unsigned Offs);
+void ResetLiteralPoolOffs (unsigned Offs);
 /* Reset the offset into the literal pool to some earlier value, effectively
  * removing values from the pool.
  */
@@ -81,7 +88,7 @@ unsigned AddLiteral (const char* S);
 const char* GetLiteral (unsigned Offs);
 /* Get a pointer to the literal with the given offset in the pool */
 
-void PrintLiteralStats (FILE* F);
+void PrintLiteralPoolStats (FILE* F);
 /* Print statistics about the literal space used */
 
 
@@ -91,3 +98,4 @@ void PrintLiteralStats (FILE* F);
 
 
 
+