CLEANUP: hlua: use hlua_pushref() instead of lua_rawgeti()

Using hlua_pushref() everywhere temporary lua objects are involved.
(ie: hlua_checkfunction(), hlua_checktable...)
Those references are expected to be cleared using hlua_unref() when
they are no longer used.
1 file changed