src/__unused/t_htp_srv.c
int
luaopen_t_htp_srv( lua_State *L )
{
	// T.Http.Server instance metatable
	luaL_newmetatable( L, T_HTP_SRV_TYPE );
	luaL_setfuncs( L, t_htp_srv_m, 0 );
	lua_setfield( L, -1, "__index" );

	// T.Http.Server class
	luaL_newlib( L, t_htp_srv_cf );
	luaL_newlib( L, t_htp_srv_fm );
	lua_setmetatable( L, -2 );
	return 1;
}
/**--------------------------------------------------------------------------
 * \brief   pushes this library onto the stack
 *          - creates Metatable with functions
 *          - creates metatable with methods
 * \param   L      The lua state.
 * \lreturn table  the library
 * \return  int    # of values pushed onto the stack.
 * --------------------------------------------------------------------------*/
\brief   pushes this library onto the stack
- creates Metatable with functions
- creates metatable with methods
\param   L      The lua state.
\lreturn table  the library
\return  int    # of values pushed onto the stack.
\ brief pushes this library onto the stack - creates Metatable with functions - creates metatable with methods \ param L The lua state . \ lreturn table the library \ return int # of values pushed onto the stack .
int
luaopen_t_htp_srv( lua_State *L )
{
	luaL_newmetatable( L, T_HTP_SRV_TYPE );
	luaL_setfuncs( L, t_htp_srv_m, 0 );
	lua_setfield( L, -1, "__index" );
	luaL_newlib( L, t_htp_srv_cf );
	luaL_newlib( L, t_htp_srv_fm );
	lua_setmetatable( L, -2 );
	return 1;
}
int luaopen_t_htp_srv ( lua_State * L ) { luaL_newmetatable ( L , T_HTP_SRV_TYPE ) ; luaL_setfuncs ( L , t_htp_srv_m , 0 ) ; lua_setfield ( L , -1 , " " ) ; luaL_newlib ( L , t_htp_srv_cf ) ; luaL_newlib ( L , t_htp_srv_fm ) ; lua_setmetatable ( L , -2 ) ; return 1 ; }
\brief   pushes this library onto the stack
          - creates Metatable with functions
          - creates metatable with methods
 \param   L      The lua state.
\ brief pushes this library onto the stack - creates Metatable with functions - creates metatable with methods \ param L The lua state .
// T.Http.Server instance metatable // T.Http.Server class