Make much more usage of dynamic strings (StrBufs) instead of char* and
friends. Since names and other strings are now StrBufs in many places, code for output had to be changed. Added support for string literals to StrBuf. git-svn-id: svn://svn.cc65.org/cc65/trunk@3825 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
|
||||
/* common */
|
||||
#include "filepos.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
|
||||
|
||||
@@ -79,6 +80,9 @@ void ObjWriteVar (unsigned long V);
|
||||
void ObjWriteStr (const char* S);
|
||||
/* Write a string to the object file */
|
||||
|
||||
void ObjWriteBuf (const StrBuf* S);
|
||||
/* Write a string to the object file */
|
||||
|
||||
void ObjWriteData (const void* Data, unsigned Size);
|
||||
/* Write literal data to the file */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user