/* */
/* */
/* */
-/* (C) 2001 Ullrich von Bassewitz */
-/* Wacholderweg 14 */
-/* D-70597 Stuttgart */
-/* EMail: uz@musoftware.de */
+/* (C) 2001 Ullrich von Bassewitz */
+/* Wacholderweg 14 */
+/* D-70597 Stuttgart */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
-void FreeDataSeg (DataSeg* S)
-/* Free a data segment including all line entries */
-{
- Internal ("Not implemented");
-}
-
-
-
-void AppendDataSeg (DataSeg* Target, const DataSeg* Source)
+void DS_Append (DataSeg* Target, const DataSeg* Source)
/* Append the data from Source to Target */
{
unsigned I;
-void AddDataEntry (DataSeg* S, const char* Format, va_list ap)
+void DS_AddVLine (DataSeg* S, const char* Format, va_list ap)
/* Add a line to the given data segment */
{
/* Format the line */
-void OutputDataSeg (const DataSeg* S, FILE* F)
+void DS_AddLine (DataSeg* S, const char* Format, ...)
+/* Add a line to the given data segment */
+{
+ va_list ap;
+ va_start (ap, Format);
+ DS_AddVLine (S, Format, ap);
+ va_end (ap);
+}
+
+
+
+void DS_Output (const DataSeg* S, FILE* F)
/* Output the data segment data to a file */
{
unsigned I;
+