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

Function get_file_ext

outdated/win/gem/bitmfile.c:311–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309/*---filetype-dispatcher--------------------*/
310
311const char *
312get_file_ext(FILE_TYP typ)
313{
314 switch (typ) {
315 case IMG:
316 case XIMG:
317 return ("IMG");
318 default:
319 return ("");
320 };
321}
322
323int
324bitmap_to_file(FILE_TYP typ, int ww, int wh, unsigned int pwx,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected