lua_get* and lua_rawget* functions has return values!!! thanks for that!!
btw, the function lua_getfield and lua_getuservalue doesn't have return value, yet. lua_getfield is the most useful function in my coding (though maybe it's slow a bit), and now userdata can have any type of lua value for its uservalue, so lua_getuservalue should return a type, either.