Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NetHack/NetHack
/ newomid
Function
newomid
src/mkobj.c:142–148 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
140
}
141
142
void
143
newomid(struct obj *otmp)
144
{
145
if (!otmp->oextra)
146
otmp->oextra = newoextra();
147
OMID(otmp) = 0;
148
}
149
150
void
151
free_omid(struct obj *otmp)
Callers
4
restobj
Function · 0.70
copy_oextra
Function · 0.70
obj_attach_mid
Function · 0.70
add_one_tobill
Function · 0.70
Calls
1
newoextra
Function · 0.70
Tested by
no test coverage detected