lua-users home
lua-l archive

Re: [ANN] Lua 5.4.0 (alpha-rc1) now available

[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

AltStyle によって変換されたページ (->オリジナル) /