Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
MCGIDI_version.cc
Go to the documentation of this file.
1/*
2# <<BEGIN-copyright>>
3# <<END-copyright>>
4*/
5
6#include "MCGIDI.h"
7
8static char versionStr[64] = "";
9
10/*
11========================================================================
12*/
13const char *MCGIDI_version( void ) {
14
15 if( versionStr[0] == 0 ) snprintf( versionStr, sizeof versionStr, "MCGIDI version %d.%d.%d", MCGIDI_VERSION_MAJOR, MCGIDI_VERSION_MINOR, MCGIDI_VERSION_PATCHLEVEL );
16 return( versionStr );
17}
18/*
19========================================================================
20*/
21int MCGIDI_versionMajor( void ) { return( MCGIDI_VERSION_MAJOR ); }
22int MCGIDI_versionMinor( void ) { return( MCGIDI_VERSION_MINOR ); }
#define MCGIDI_VERSION_MAJOR
Definition MCGIDI.h:8
#define MCGIDI_VERSION_PATCHLEVEL
Definition MCGIDI.h:10
#define MCGIDI_VERSION_MINOR
Definition MCGIDI.h:9
int MCGIDI_versionPatchLevel(void)
int MCGIDI_versionMajor(void)
const char * MCGIDI_version(void)
int MCGIDI_versionMinor(void)