hlua icon indicating copy to clipboard operation
hlua copied to clipboard

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

Open linkmauve opened this issue 6 years ago • 1 comments

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

Another option would be to unify them, I guess.

linkmauve avatar Nov 03 '17 01:11 linkmauve

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).

tomaka avatar Nov 03 '17 09:11 tomaka