naming: Why luaL_testudata but lua(L)_to*?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: naming: Why luaL_testudata but lua(L)_to*?
- From: nobody <nobody+lua-list@...>
- Date: 2017年9月15日 20:38:43 +0200
Hey *,
why is it that all error-throwing getters are called lua(L)_check*,
almost all getters that signal errors by their return value are called
lua(L)_to*, but it's luaL_testudata and not luaL_toudata?
Is there a deeper reason or is it just accidental?
-- nobody