[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: What is the preferred way to embed multi-line string in C source?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 19 Dec 2008 16:29:10 -0200
> ...but don't forget that a string array initialiser (const char foo =
> "...") is not the same as a string literal (const char* foo = "..."),
> and the limits don't apply to initialisers.
And it is easy to write a specific lua_Reader function to feed each
array element to lua_load without concatenating them.