Added the write routine.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5584 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-03-09 11:46:16 +00:00
parent b6329757d7
commit 4e7488d9b9
4 changed files with 68 additions and 17 deletions

View File

@@ -67,6 +67,11 @@ typedef enum OutputFormat OutputFormat;
int FindOutputFormat (const char* Name);
/* Find an output format by name. The function returns a value less than zero
* if Name is not a known output format.
*/
void WriteOutputFile (const char* Name, const StrBuf* Data, OutputFormat Format);
/* Write the contents of Data to the given file in the format specified. If
* the format is ofAuto, it is determined by the file extension.