]> Creatis software - gdcm.git/commitdiff
COMP: Fix compilation on SunOS
authormalaterre <malaterre>
Mon, 15 May 2006 15:24:43 +0000 (15:24 +0000)
committermalaterre <malaterre>
Mon, 15 May 2006 15:24:43 +0000 (15:24 +0000)
src/gdcmJpeg2000.cxx

index 4611a60aeba8927373739242cabd7f61cef2625b..4224f1a767879cc4510257bb971ad52d8c7b2790 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJpeg2000.cxx,v $
   Language:  C++
-  Date:      $Date: 2006/02/07 16:05:13 $
-  Version:   $Revision: 1.41 $
+  Date:      $Date: 2006/05/15 15:24:43 $
+  Version:   $Revision: 1.42 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 
 #if defined(__BORLANDC__)
    #include <mem.h> // for memset
-#endif 
+#endif
 
 extern "C" {
   #include <openjpeg.h>
-}
-
-namespace gdcm 
-{
-//-----------------------------------------------------------------------------
- /**
- * \brief   routine for JPEG decompression 
- * @param raw raw
- * @param inputdata inputdata
- * @param inputlength inputlength 
- * @return 1 on success, 0 on error
- */
 
 /**
 sample error callback expecting a FILE* client object
@@ -58,6 +46,19 @@ sample debug callback expecting no client object
 void info_callback(const char *msg, void *) {
   std::cerr << "Info in gdcmopenjpeg" << msg << std::endl;
 }
+}
+
+namespace gdcm 
+{
+//-----------------------------------------------------------------------------
+ /**
+ * \brief   routine for JPEG decompression 
+ * @param raw raw
+ * @param inputdata inputdata
+ * @param inputlength inputlength 
+ * @return 1 on success, 0 on error
+ */
+
 
 #define J2K_CFMT 0
 #define JP2_CFMT 1