]> git.sur5r.net Git - cc65/blobdiff - src/cc65/textseg.c
New function ReplaceType
[cc65] / src / cc65 / textseg.c
index 0dd302bfc828b3f0c4416da32ace8563d6bae673..f15f13f1821227a2a797a3b4a4ac259c926a6fbc 100644 (file)
@@ -70,7 +70,7 @@ TextSeg* NewTextSeg (SymEntry* Func)
 
 
 
-void AddTextEntry (TextSeg* S, const char* Format, va_list ap)
+void TS_AddVLine (TextSeg* S, const char* Format, va_list ap)
 /* Add a line to the given text segment */
 {
     /* Format the line */
@@ -83,7 +83,18 @@ void AddTextEntry (TextSeg* S, const char* Format, va_list ap)
 
 
 
-void OutputTextSeg (const TextSeg* S, FILE* F)
+void TS_AddLine (TextSeg* S, const char* Format, ...)
+/* Add a line to the given text segment */           
+{
+    va_list ap;
+    va_start (ap, Format);
+    TS_AddVLine (S, Format, ap);
+    va_end (ap);
+}
+
+
+
+void TS_Output (const TextSeg* S, FILE* F)
 /* Output the text segment data to a file */
 {
     unsigned I;