lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Thanks everyone, I found Lua mailing list really wonderful with all kinds of kindly help!

It seems that "xxd -i" is the best for me, I can add a step in my Makefile to do that.

xxd -i output a char array like the following, which is not a string literal.

unsigned char ltools_lua[] = {
  0x0a, 0x6c, 0x6f, 0x63, 0x61,
};

Is there any 4096 limit for xxd -i style output?