toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN TooN.h


From: Tom Drummond
Subject: [Toon-members] TooN TooN.h
Date: Wed, 29 Apr 2009 21:54:07 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Tom Drummond <twd20>    09/04/29 21:54:07

Modified files:
        .              : TooN.h 

Log message:
        removed namespace toon surrounding #included files
        so that they can have namespace TooN in each of them
        this is needed to make Doxygen document things in the right namespaces

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/TooN.h?cvsroot=toon&r1=1.38&r2=1.39

Patches:
Index: TooN.h
===================================================================
RCS file: /cvsroot/toon/TooN/TooN.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- TooN.h      27 Apr 2009 16:58:27 -0000      1.38
+++ TooN.h      29 Apr 2009 21:54:07 -0000      1.39
@@ -42,11 +42,9 @@
 #include <ctime>
 #endif
 
-namespace TooN
-{
+namespace TooN {
        
-
-       #ifdef TOON_TEST_INTERNALS
+#ifdef TOON_TEST_INTERNALS
                namespace Internal
                {
                        struct BadIndex{};
@@ -56,7 +54,7 @@
                        struct StaticSizeMismatch{};
 
                }
-       #endif
+#endif
        
        //Is the number a field? ie, *, -, *, / defined.
        //Specialize this to make TooN work properly with new types
@@ -81,27 +79,26 @@
        static const int Dynamic = -1;
 
        typedef double DefaultPrecision;
+}
 
-       #include <TooN/internal/allocator.hh>
-
-       #include <TooN/internal/size_mismatch.hh>
-       #include <TooN/internal/slice_error.hh>
-       #include <TooN/internal/debug.hh>
+#include <TooN/internal/allocator.hh>
 
-       #include <TooN/internal/vbase.hh>
-       #include <TooN/internal/vector.hh>
+#include <TooN/internal/size_mismatch.hh>
+#include <TooN/internal/slice_error.hh>
+#include <TooN/internal/debug.hh>
        
-       #include <TooN/internal/mbase.hh>
-       #include <TooN/internal/matrix.hh>
-       #include <TooN/internal/reference.hh>
+#include <TooN/internal/vbase.hh>
+#include <TooN/internal/vector.hh>
 
-       #include <TooN/internal/make_vector.hh>
-       #include <TooN/internal/operators.hh>
+#include <TooN/internal/mbase.hh>
+#include <TooN/internal/matrix.hh>
+#include <TooN/internal/reference.hh>
        
-    #include <TooN/internal/objects.h>
+#include <TooN/internal/make_vector.hh>
+#include <TooN/internal/operators.hh>
 
-    #include <TooN/internal/diagmatrix.h>
+#include <TooN/internal/objects.h>
 
-}
+#include <TooN/internal/diagmatrix.h>
 
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]