MCPcopy Index your code
hub / github.com/NetHack/NetHack / newoextra

Function newoextra

src/mkobj.c:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85struct oextra *
86newoextra(void)
87{
88 struct oextra *oextra;
89
90 oextra = (struct oextra *) alloc(sizeof (struct oextra));
91 init_oextra(oextra);
92 return oextra;
93}
94
95void
96dealloc_oextra(struct obj *o)

Callers 6

new_onameFunction · 0.70
restobjFunction · 0.70
newomonstFunction · 0.70
newomidFunction · 0.70
new_omailcmdFunction · 0.70
copy_oextraFunction · 0.70

Calls 2

allocFunction · 0.70
init_oextraFunction · 0.70

Tested by

no test coverage detected