Geant4-11
Functions
pyG4Version.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"

Go to the source code of this file.

Functions

void export_G4Version ()
 

Function Documentation

◆ export_G4Version()

void export_G4Version ( )

Definition at line 39 of file pyG4Version.cc.

40{
41 scope current;
42 current.attr("G4VERSION_NUMBER")= G4VERSION_NUMBER;
43 current.attr("G4Version")= G4Version.c_str();
44 current.attr("G4Date")= G4Date.c_str();
45}
#define G4VERSION_NUMBER
Definition: G4Version.hh:43
static const G4String G4Date
Definition: G4Version.hh:60
static const G4String G4Version
Definition: G4Version.hh:58

References G4Date, G4Version, and G4VERSION_NUMBER.

Referenced by BOOST_PYTHON_MODULE().