Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

void export_G4Version ( )

Definition at line 40 of file pyG4Version.cc.

References G4VERSION_NUMBER.

Referenced by BOOST_PYTHON_MODULE().

41 {
42  scope current;
43  current.attr("G4VERSION_NUMBER")= G4VERSION_NUMBER;
44  current.attr("G4Version")= G4Version.c_str();
45  current.attr("G4Date")= G4Date.c_str();
46 }
#define G4VERSION_NUMBER
Definition: G4Version.hh:49