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

Clarify the difference between AnyLuaValue values and the specialised Lua* structs #176

Open
linkmauve opened this issue Nov 3, 2017 · 1 comment

Comments

@linkmauve
Copy link
Contributor

It’s unclear in the documentation which should be used in which case.

Another option would be to unify them, I guess.

@tomaka
Copy link
Owner

tomaka commented Nov 3, 2017

If you read a specialized Lua* struct, you will get either a conversion (eg. you're trying to read a number into a string) or an error (eg. you're trying to read a function into a string).

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