src/__unused/t_htp_str.c
static int
lt_htp_str__index( lua_State *L )
{
	struct t_htp_str *s = t_htp_str_check_ud( L, -2, 1 );

	lua_rawgeti( L, LUA_REGISTRYINDEX, s->pR );  // fetch the proxy table
	lua_pushvalue( L, -2 );                      // repush the key
	lua_gettable( L, -2 );
	return 1;
}
/**--------------------------------------------------------------------------
 * Access Field Values in T.Http.Message by accessing proxy table.
 * \param   L    The lua state.
 * \lparam  Http.Message instance.
 * \lparam  key   string/integer
 * \lparam  value LuaType
 * \return  int    # of values pushed onto the stack.
 * --------------------------------------------------------------------------*/
Access Field Values in T.Http.Message by accessing proxy table.
\param   L    The lua state.
Access Field Values in T . Http . Message by accessing proxy table . \ param L The lua state .
static int
lt_htp_str__index( lua_State *L )
{
	struct t_htp_str *s = t_htp_str_check_ud( L, -2, 1 );
	lua_rawgeti( L, LUA_REGISTRYINDEX, s->pR );  
	lua_pushvalue( L, -2 );                      
	lua_gettable( L, -2 );
	return 1;
}
static int lt_htp_str__index ( lua_State * L ) { struct t_htp_str * s = t_htp_str_check_ud ( L , -2 , 1 ) ; lua_rawgeti ( L , LUA_REGISTRYINDEX , s -> pR ) ; lua_pushvalue ( L , -2 ) ; lua_gettable ( L , -2 ) ; return 1 ; }
Access Field Values in T.Http.Message by accessing proxy table.
Access Field Values in T . Http . Message by accessing proxy table .
// fetch the proxy table // repush the key