packages: root/root-namespaces.patch - merged from DEVEL

lisu lisu at pld-linux.org
Wed Dec 15 14:25:11 CET 2010


Author: lisu                         Date: Wed Dec 15 13:25:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
packages/root:
   root-namespaces.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/root/root-namespaces.patch
diff -u /dev/null packages/root/root-namespaces.patch:1.2
--- /dev/null	Wed Dec 15 14:25:11 2010
+++ packages/root/root-namespaces.patch	Wed Dec 15 14:25:06 2010
@@ -0,0 +1,99 @@
+--- a/math/mathcore/src/TMath.cxx
++++ b/math/mathcore/src/TMath.cxx
+@@ -40,6 +40,27 @@ NamespaceImp(TMath)
+ #endif
+ 
+ namespace TMath {
++   namespace ROOT {
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++      static void TMath_Dictionary();
++
++      // Function generating the singleton type initializer
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++      {
++         static ::ROOT::TGenericClassInfo 
++            instance("TMath", 0 /*version*/, "include/TMath.h", 36,
++                     ::ROOT::DefineBehavior((void*)0,(void*)0),
++                     &TMath_Dictionary, 0);
++         return &instance;
++      }
++      // Static variable to force the class initialization
++      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++      // Dictionary for non-ClassDef classes
++      static void TMath_Dictionary() {
++         GenerateInitInstance()->GetClass();
++      }
++   }
+ 
+    Double_t GamCf(Double_t a,Double_t x);
+    Double_t GamSer(Double_t a,Double_t x);
+--- a/math/matrix/src/TMatrixTCramerInv.cxx
++++ b/math/matrix/src/TMatrixTCramerInv.cxx
+@@ -38,6 +38,31 @@
+ NamespaceImp(TMatrixTCramerInv);
+ #endif
+ 
++namespace TMatrixTCramerInv {
++   namespace ROOT {
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++      static void TMatrixTCramerInv_Dictionary();
++
++      // Function generating the singleton type initializer
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++      {
++         static ::ROOT::TGenericClassInfo 
++            instance("TMatrixTCramerInv", 0 /*version*/, "include/TMatrixTCramerInv.h", 34,
++                     ::ROOT::DefineBehavior((void*)0,(void*)0),
++                     &TMatrixTCramerInv_Dictionary, 0);
++         return &instance;
++      }
++      // Static variable to force the class initialization
++      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++      // Dictionary for non-ClassDef classes
++      static void TMatrixTCramerInv_Dictionary() {
++         GenerateInitInstance()->GetClass();
++      }
++
++   }
++}
++
+ //______________________________________________________________________________
+ template<class Element> 
+ Bool_t TMatrixTCramerInv::Inv2x2(TMatrixT<Element> &m,Double_t *determ)
+--- a/math/matrix/src/TMatrixTSymCramerInv.cxx
++++ b/math/matrix/src/TMatrixTSymCramerInv.cxx
+@@ -38,6 +38,31 @@
+ NamespaceImp(TMatrixTSymCramerInv);
+ #endif
+ 
++namespace TMatrixTSymCramerInv {
++   namespace ROOT {
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
++      static void TMatrixTSymCramerInv_Dictionary();
++
++      // Function generating the singleton type initializer
++      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
++      {
++         static ::ROOT::TGenericClassInfo 
++            instance("TMatrixTSymCramerInv", 0 /*version*/, "include/TMatrixTSymCramerInv.h", 34,
++                     ::ROOT::DefineBehavior((void*)0,(void*)0),
++                     &TMatrixTSymCramerInv_Dictionary, 0);
++         return &instance;
++      }
++      // Static variable to force the class initialization
++      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
++
++      // Dictionary for non-ClassDef classes
++      static void TMatrixTSymCramerInv_Dictionary() {
++         GenerateInitInstance()->GetClass();
++      }
++
++   }
++}
++
+ //______________________________________________________________________________
+ template<class Element> 
+ Bool_t TMatrixTSymCramerInv::Inv2x2(TMatrixTSym<Element> &m,Double_t *determ)
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/root/root-namespaces.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list