Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ newomid
Function
newomid
util/sfctool.c:1107–1113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1105
}
1106
1107
void
1108
newomid(struct obj* otmp)
1109
{
1110
if (!otmp->oextra)
1111
otmp->oextra = newoextra();
1112
OMID(otmp) = 0;
1113
}
1114
1115
void
1116
free_omid(struct obj* otmp)
Callers
nothing calls this directly
Calls
1
newoextra
Function · 0.70
Tested by
no test coverage detected