lua-users home
lua-l archive

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

As per the documentation(,
which says that: This macro is equivalent to lua_pushstring, but
should be used only when s is a literal string.

I can't understand the explanation aforementioned at all. As far as I
can see, there is no difference from the macro definition for

#define lua_pushliteral(L, s) lua_pushstring(L, "" s)

If there is something wrong, please let me know.
Thank you for your attention to my question.

Best regards