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

Function sfo_version_info

src/sfbase.c:329–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void
330sfo_version_info(NHFILE *nhfp, struct version_info *d_version_info,
331 const char *myname)
332{
333 if (nhfp->fplog)
334 sf_log(nhfp, myname, sizeof *d_version_info, 1,
335 complex_dump((uchar *) d_version_info));
336 if (nhfp->structlevel) {
337 (*sfoprocs[nhfp->fnidx].fn.sf_version_info)(nhfp, d_version_info,
338 myname);
339 } else {
340 FILE *save_fplog = nhfp->fplog;
341 nhfp->fplog = 0;
342 (*sfoflprocs[nhfp->fnidx].fn_x.sf_version_info)(nhfp, d_version_info,
343 myname);
344 nhfp->fplog = save_fplog;
345 }
346}
347void
348sfi_version_info(NHFILE *nhfp, struct version_info *d_version_info,
349 const char *myname)

Callers 1

sfi_version_infoFunction · 0.85

Calls 2

sf_logFunction · 0.85
complex_dumpFunction · 0.85

Tested by

no test coverage detected