/* common */
#include "check.h"
-#include "strbuf.h"
#include "tgttrans.h"
/* cc65 */
+void GetLiteralStrBuf (StrBuf* Target, unsigned Offs)
+/* Copy the string starting at Offs and lasting to the end of the buffer
+ * into Target.
+ */
+{
+ CHECK (Offs <= SB_GetLen (&LiteralPool));
+ SB_Slice (Target, &LiteralPool, Offs, SB_GetLen (&LiteralPool) - Offs);
+}
+
+
+
void PrintLiteralPoolStats (FILE* F)
/* Print statistics about the literal space used */
{