]> git.sur5r.net Git - cc65/blobdiff - src/cc65/litpool.h
Since we have now builtin search paths, we need to be able to forget them,
[cc65] / src / cc65 / litpool.h
index e9ad3c5cb1f3cc24238630e7984dae2391dee286..99fd27bfbe15c0fda7d2ce18a8b8bb6b68a0c5d4 100644 (file)
 
 #include <stdio.h>
 
+/* common */
+#include "strbuf.h"
+
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                  Data                                    */
 /*****************************************************************************/
 
 
@@ -88,6 +91,11 @@ unsigned AddLiteral (const char* S);
 const char* GetLiteral (unsigned Offs);
 /* Get a pointer to the literal with the given offset in the pool */
 
+void GetLiteralStrBuf (StrBuf* Target, unsigned Offs);
+/* Copy the string starting at Offs and lasting to the end of the buffer
+ * into Target.
+ */
+
 void PrintLiteralPoolStats (FILE* F);
 /* Print statistics about the literal space used */