makesingular("zorkmids") */
| 866 | |
| 867 | /* makesingular("zorkmids") */ |
| 868 | staticfn int |
| 869 | nhl_makesingular(lua_State *L) |
| 870 | { |
| 871 | int argc = lua_gettop(L); |
| 872 | |
| 873 | if (argc == 1) |
| 874 | lua_pushstring(L, makesingular(luaL_checkstring(L, 1))); |
| 875 | else |
| 876 | nhl_error(L, "Wrong args"); |
| 877 | |
| 878 | return 1; |
| 879 | } |
| 880 | |
| 881 | /* s_suffix("foo") */ |
| 882 | staticfn int |
nothing calls this directly
no test coverage detected