LCOV - code coverage report
Current view: top level - TEvtGen/EvtGen/EvtGenBase - EvtRanf.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2016-06-14 17:26:59 Functions: 0 1 0.0 %

          Line data    Source code
       1             : //--------------------------------------------------------------------------
       2             : // File and Version Information:
       3             : //      $Id: EvtRanf.cpp,v 1.5 2009-03-16 15:44:04 robbep Exp $
       4             : //
       5             : // Description:
       6             : //      subroutine evtranf_.
       7             : //      Provides FORTRAN calable interface to EvtRandom::Flat()
       8             : //      Can be used as EVTRANF instead of RANF in FORTRAN programs
       9             : //      or as evtranf_ instead of ranf_ in C/C++ programs.
      10             : //      No header file is provided, as C++ programs should use EvtRandom
      11             : //
      12             : //
      13             : //------------------------------------------------------------------------
      14             : #include "EvtGenBase/EvtRandom.hh"
      15             : #ifdef WIN32
      16             : extern "C" {
      17             :   double __stdcall EVTRANF( ) 
      18             :   {
      19             :     return EvtRandom::Flat() ;
      20             :   }
      21             : }
      22             : #else
      23             : extern "C" {
      24             :   double evtranf_( ) 
      25             :   {
      26           0 :     return EvtRandom::Flat() ;
      27             :   }
      28             : }
      29             : #endif

Generated by: LCOV version 1.11