[ismrmrd] 77/177: Added more explicit numbers to ismrmd header to simplify checking on other platforms.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:02:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag v1.1.0.beta.1
in repository ismrmrd.

commit 4668fdf98be80483b6f31d53db733de0d11d33b4
Author: Souheil Inati <souheil.inati at nih.gov>
Date:   Mon Sep 22 12:16:48 2014 -0400

    Added more explicit numbers to ismrmd header to simplify checking on other platforms.
---
 include/ismrmrd/ismrmrd.h | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/ismrmrd/ismrmrd.h b/include/ismrmrd/ismrmrd.h
index d267112..45641c2 100644
--- a/include/ismrmrd/ismrmrd.h
+++ b/include/ismrmrd/ismrmrd.h
@@ -106,14 +106,14 @@ enum ISMRMRD_ErrorCodes {
  * Data Types
  */
 enum ISMRMRD_DataTypes {
-    ISMRMRD_USHORT = 1, /**< corresponds to uint16_t */
-    ISMRMRD_SHORT,      /**< corresponds to int16_t */
-    ISMRMRD_UINT,       /**< corresponds to uint32_t */
-    ISMRMRD_INT,        /**< corresponds to int32_t */
-    ISMRMRD_FLOAT,      /**< corresponds to float */
-    ISMRMRD_DOUBLE,     /**< corresponds to double */
-    ISMRMRD_CXFLOAT,    /**< corresponds to complex float */
-    ISMRMRD_CXDOUBLE,   /**< corresponds to complex double */
+    ISMRMRD_USHORT   = 1, /**< corresponds to uint16_t */
+    ISMRMRD_SHORT    = 2, /**< corresponds to int16_t */
+    ISMRMRD_UINT     = 3, /**< corresponds to uint32_t */
+    ISMRMRD_INT      = 4, /**< corresponds to int32_t */
+    ISMRMRD_FLOAT    = 5, /**< corresponds to float */
+    ISMRMRD_DOUBLE   = 6, /**< corresponds to double */
+    ISMRMRD_CXFLOAT  = 7, /**< corresponds to complex float */
+    ISMRMRD_CXDOUBLE = 8, /**< corresponds to complex double */
 };
 
 /**
@@ -165,10 +165,10 @@ enum ISMRMRD_AcquisitionFlags {
  */
 enum ISMRMRD_ImageTypes {
     ISMRMRD_IMTYPE_MAGNITUDE = 1,
-    ISMRMRD_IMTYPE_PHASE,
-    ISMRMRD_IMTYPE_REAL,
-    ISMRMRD_IMTYPE_IMAG,
-    ISMRMRD_IMTYPE_COMPLEX
+    ISMRMRD_IMTYPE_PHASE     = 2,
+    ISMRMRD_IMTYPE_REAL      = 3,
+    ISMRMRD_IMTYPE_IMAG      = 4,
+    ISMRMRD_IMTYPE_COMPLEX   = 5
 };
 
 /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git



More information about the debian-science-commits mailing list