Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA_LOADED_TABLE and friends #84

Open
Tracked by #35
digitcrusher opened this issue Jun 8, 2024 · 1 comment
Open
Tracked by #35

LUA_LOADED_TABLE and friends #84

digitcrusher opened this issue Jun 8, 2024 · 1 comment

Comments

@digitcrusher
Copy link

It would be nice if constants such as LUA_LOADED_TABLE were available, instead of having to rely on LUA_LOADED_TABLE always being equal to "_LOADED". I think the following excerpt from the Lua reference manual is a good argument for this change:

Lua versions can always change the C API in ways that do not imply source-code changes in a program, such as the numeric values for constants or the implementation of functions as macros.

And besides, I think everyone can agree that lua.loaded_table looks nicer than "_LOADED". :-)

@natecraddock
Copy link
Owner

Good point! This fits in well to #35 so I made note of it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants