lua-users home
lua-l archive

Re: Protecting global variables

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


> do you mean by doing all this initialization in the C side via the C APIs?
> the core C APIs won't access the standard libraries, so it is safe.
Hi,
yep, via the C API.
I'll better rephrase my question as follows:
It's obvious the standard library defines the following global symbols:
bit32, coroutine, debug, io, math, os, package, string, table. May I
rely on the fact it does not define or access any other global symbols
behind the scene?
Thanks,
Peter

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