naev 0.12.5
naev_version.c File Reference

Implements naev_version() in a separate compilation unit, so that a "git pull" only forces a recompile of this tiny piece plus a relink. More...

#include "gettext.h"
#include "start.h"
Include dependency graph for naev_version.c:

Go to the source code of this file.

Functions

const char * naev_version (int long_version)
 Returns the version in a human readable string.

Variables

static char version_human [STRMAX_SHORT]

Detailed Description

Implements naev_version() in a separate compilation unit, so that a "git pull" only forces a recompile of this tiny piece plus a relink.

Definition in file naev_version.c.

Function Documentation

◆ naev_version()

const char * naev_version ( int long_version)

Returns the version in a human readable string.

Parameters
long_versionReturns the long version if it's long.
Returns
The human readable version string.

Definition at line 27 of file naev_version.c.

Variable Documentation

◆ version_human

char version_human[STRMAX_SHORT]
static

Human readable version.

Definition at line 19 of file naev_version.c.