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

Function mdlib_version_string

src/mdlib.c:299–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297#if defined(MAKEDEFS_C) || defined(FOR_RUNTIME)
298
299char *
300mdlib_version_string(char *outbuf, const char *delim)
301{
302 Sprintf(outbuf, "%d%s%d%s%d", VERSION_MAJOR, delim, VERSION_MINOR, delim,
303 PATCHLEVEL);
304#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
305 Sprintf(eos(outbuf), "-%d", EDITLEVEL);
306#endif
307 return outbuf;
308}
309
310#define Snprintf(str, size, ...) \
311 nh_snprintf(__func__, __LINE__, str, size, __VA_ARGS__)

Callers 7

version_id_stringFunction · 0.85
bannerc_stringFunction · 0.85
populate_nomakedefsFunction · 0.85
version_stringFunction · 0.85
status_versionFunction · 0.85
do_ext_makedefsFunction · 0.85
do_dateFunction · 0.85

Calls 1

eosFunction · 0.85

Tested by

no test coverage detected