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

Function i2xtp

win/X11/winmisc.c:127–131  ·  view source on GitHub ↗

Bad Hack alert. Using integers instead of XtPointers */

Source from the content-addressed store, hash-verified

125
126/* Bad Hack alert. Using integers instead of XtPointers */
127XtPointer
128i2xtp(int i)
129{
130 return (XtPointer) (ptrdiff_t) i;
131}
132
133int
134xtp2i(XtPointer x)

Callers 6

plsel_set_sensitivitiesFunction · 0.85
racetoggleCallbackFunction · 0.85
roletoggleCallbackFunction · 0.85
winmisc.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected