[Genabel-commits] r1267 - pkg/OmicABEL/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jul 2 10:52:59 CEST 2013
Author: dfabregat
Date: 2013-07-02 10:52:58 +0200 (Tue, 02 Jul 2013)
New Revision: 1267
Modified:
pkg/OmicABEL/src/databel.h
Log:
Defining DatABEL datatypes and their associated value
for *.fvi headers.
Modified: pkg/OmicABEL/src/databel.h
===================================================================
--- pkg/OmicABEL/src/databel.h 2013-07-01 12:55:37 UTC (rev 1266)
+++ pkg/OmicABEL/src/databel.h 2013-07-02 08:52:58 UTC (rev 1267)
@@ -25,14 +25,14 @@
#ifndef DATABEL_H
#define DATABEL_H
-#define UNSIGNED_SHORT_INT_TYPE
-#define SHORT_INT_TYPE
-#define UNSIGNED_INT_TYPE
-#define INT_TYPE
-#define FLOAT_TYPE
-#define DOUBLE_TYPE
-#define SIGNED_CHAR_TYPE
-#define UNSIGNED_CHAR_TYPE
+enum datatype{ UNSIGNED_SHORT_INT_TYPE = 1,
+ SHORT_INT_TYPE,
+ UNSIGNED_INT_TYPE,
+ INT_TYPE,
+ FLOAT_TYPE,
+ DOUBLE_TYPE,
+ SIGNED_CHAR_TYPE,
+ UNSIGNED_CHAR_TYPE };
#define NAMELENGTH 32
#define RESERVEDSPACE 5
More information about the Genabel-commits
mailing list