lua-users home
lua-l archive

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


> the most way to use "const" in C is use it as function parameter qualifier.
> So does Lua plan to support it?

More often than not, we use "const" in C for a parameter qualifier as a
way to tell the caller that the function does not change something; in
particular, we use "const type*" and not "const type".  All these only
works with static typing.

-- Roberto