MCPcopy Create free account
hub / github.com/NetHack/NetHack / l_selection_new

Function l_selection_new

src/nhlsel.c:126–131  ·  view source on GitHub ↗

local sel = selection.new(); */

Source from the content-addressed store, hash-verified

124
125/* local sel = selection.new(); */
126staticfn int
127l_selection_new(lua_State *L)
128{
129 (void) l_selection_push_new(L);
130 return 1;
131}
132
133/* Replace the topmost selection in the stack with a clone of it. */
134/* local sel = selection.clone(sel); */

Callers 10

l_selection_cloneFunction · 0.85
l_selection_setpointFunction · 0.85
l_selection_notFunction · 0.85
params_sel_2coordsFunction · 0.85
l_selection_randlineFunction · 0.85
l_selection_matchFunction · 0.85
l_selection_floodFunction · 0.85
l_selection_circleFunction · 0.85
l_selection_ellipseFunction · 0.85
l_selection_gradientFunction · 0.85

Calls 1

l_selection_push_newFunction · 0.85

Tested by

no test coverage detected