endpoint: remove wp_endpoint_create_link()

Not used and not useful with the current design.
May be reverted in the future, if necessary.
This commit is contained in:
George Kiagiadakis
2021-05-21 19:56:27 +03:00
parent fd7b68dfd7
commit f0d33cb873
3 changed files with 0 additions and 44 deletions

View File

@@ -754,18 +754,7 @@ static const luaL_Reg metadata_methods[] = {
/* WpEndpoint */
static int
endpoint_create_link (lua_State *L)
{
WpEndpoint *ep = wplua_checkobject (L, 1, WP_TYPE_ENDPOINT);
luaL_checktype (L, 2, LUA_TTABLE);
WpProperties *props = wplua_table_to_properties (L, 2);
wp_endpoint_create_link (ep, props);
return 0;
}
static const luaL_Reg endpoint_methods[] = {
{ "create_link", endpoint_create_link },
{ NULL, NULL }
};