[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bin2c
- From: "John Labenski" <jlabenski@...>
- Date: Sun, 26 Feb 2006 00:53:11 -0500
On 2/25/06, D Burgess <dburgess@gmail.com> wrote:
> There is a bin2c.lua around (on the Wiki I think). If not mail me and
> I will send it to you.
There's a bin2c.lua that I wrote here
http://cvs.sourceforge.net/viewcvs.py/wxlua/wxLua/util/bin2c/bin2c.lua?view=markup
It can transform binary or text files to const char* strings. The text
file implementation maintains lines so that if you import it into CVS
the diffs aren't so ugly. If you set it to output to a file it only
updates it if there are differences.
Regards,
John Labenski